ext/ffmpeg/gstffmpegdec.c: Add exception for Indeo3 keyframe detection until upstream ffmpeg behaves properly.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Add exception for Indeo3 keyframe detection until upstream ffmpeg
behaves properly.
This commit is contained in:
Edward Hervey 2006-01-11 15:31:24 +00:00
parent b4e1a56104
commit d5063dcd21
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-01-11 Edward Hervey <edward@fluendo.com>
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
Add exception for Indeo3 keyframe detection until upstream ffmpeg
behaves properly.
2005-12-19 Edward Hervey <edward@fluendo.com>
* ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps):

2
common

@ -1 +1 @@
Subproject commit d1911d4b3d6267f9cd9dfb68fcef2afe4d098092
Subproject commit e0b121388ece524c0b7035a72bddd191d122d8bf

View file

@ -819,6 +819,7 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec,
is_itype = (ffmpegdec->picture->pict_type == FF_I_TYPE);
is_reference = (ffmpegdec->picture->reference == 1);
iskeyframe = ( is_itype || is_reference )
|| (oclass->in_plugin->id == CODEC_ID_INDEO3)
|| (oclass->in_plugin->id == CODEC_ID_MSZH)
|| (oclass->in_plugin->id == CODEC_ID_ZLIB);
GST_DEBUG_OBJECT (ffmpegdec,