Work around a crash caused when an invalid media type is set to a sample while bit streaming.