[Ffmpeg-devel] Patch for fixing gst-ffmpeg
Fabrizio Gennari
fabrizio.ge
Sat Jan 7 02:34:15 CET 2006
With GStreamer 0.10, gst-ffmpeg has become much pickier: it needs that
all the frames are marked as I, P or B. This breaks Indeo 3 decoder, and
possibly many others (but I haven't tested the other ones).
This simple patch to ffmpeg's libavcodec fixes playing of Indeo 3 videos
in gst-ffmpeg.
diff -u -r1.3 indeo3.c
--- libavcodec/indeo3.c 21 Apr 2005 19:01:29 -0000 1.3
+++ libavcodec/indeo3.c 7 Jan 2006 00:28:24 -0000
@@ -1122,6 +1122,8 @@
}
}
+ s->frame.pict_type = FF_I_TYPE;
+
*data_size=sizeof(AVFrame);
*(AVFrame*)data= s->frame;
More information about the ffmpeg-devel
mailing list