Ticket #287: mpeg1-hack.patch
File mpeg1-hack.patch, 981 bytes (added by , 19 years ago) |
---|
-
libs/libmythtv/avformatdecoder.cpp
830 830 #ifdef USING_XVMC 831 831 if (!using_null_videoout && xvmc_stream_type(enc->codec_id)) 832 832 { 833 // HACK -- begin 834 // Force MPEG2 decoder on MPEG1 streams. 835 // Needed for broken transmitters which mark 836 // MPEG2 streams as MPEG1 streams, and should 837 // be harmless for unbroken ones. 838 if (CODEC_ID_MPEG1VIDEO == enc->codec_id) 839 enc->codec_id = CODEC_ID_MPEG2VIDEO; 840 // HACK -- end 841 833 842 MythCodecID mcid; 834 843 mcid = VideoOutputXv::GetBestSupportedCodec( 835 844 /* disp dim */ enc->width, enc->height,