From: Steven S. <sm...@us...> - 2014-10-25 00:10:34
|
Update of /cvsroot/mjpeg/mjpeg_play/y4mutils In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5562 Modified Files: qttoy4m.c Log Message: remove hack added to compensate for libquicktime breakage. As of 2014/10/24 libquicktime was fixed. Index: qttoy4m.c =================================================================== RCS file: /cvsroot/mjpeg/mjpeg_play/y4mutils/qttoy4m.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** qttoy4m.c 13 Oct 2014 23:06:18 -0000 1.12 --- qttoy4m.c 25 Oct 2014 00:10:32 -0000 1.13 *************** *** 154,171 **** height = quicktime_video_height(file, vtrack); - /* - * HACK alert. - * - * libquicktime's behaviour has changed, at least for 2vuy and similar files. - * The color model in the codec used to be initialized by this point but now - * is not. This was causing all but ffmpeg based codecs to fail the is_yuv - * test below. The workaround is to call lqt_get_decoder_colormodel(), this - * completes the codec initialization but nothing else. - * - * DON'T check the status - the first call "fails" but has called the codec - * decode initialiation. A 2nd call to lqt_get_decoder_colormodel will "succeed" - */ - lqt_get_decoder_colormodel(file, vtrack); - cmodel = lqt_get_cmodel(file, vtrack); omodel = 0; --- 154,157 ---- |