ext/ffmpeg/gstffmpegdec.c: So, stupid ffmpeg.... Not all [en|de]coders set AVFrame...
authorEdward Hervey <bilboed@bilboed.com>
Wed, 7 Dec 2005 12:14:34 +0000 (12:14 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Dec 2005 12:14:34 +0000 (12:14 +0000)
commit3fe565fc1dd6706f5376957681f2ec54b63ffae0
tree6c8f411094d08a10a9fc4966f707df8da75e9063
parent9783a9207a3e9ae40a70932dfdea0431ab2b5bb7
ext/ffmpeg/gstffmpegdec.c: So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
So, stupid ffmpeg.... Not all [en|de]coders set AVFrame->type.
This should handle the case where AVFrame->reference is set to 1 (which
is the equivalent of a keyframe).
Also fixes #323286.
I tried a truckload of other files with this modification and it didn't seem
to break playback.
ChangeLog
ext/ffmpeg/gstffmpegdec.c