Reworked RenegotiateMediaOutputType() so that it only flushes samples/reallocates surfaces when necessary (because the MediaType has changed).