From: <rb...@fr...> - 2005-08-15 14:50:17
|
CVS Root: /cvs/gstreamer Module: gst-ffmpeg Changes by: rbultje Date: Mon Aug 15 2005 06:27:15 PDT Log message: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event): Flush buffers in flush-stop, not flush-start, since the task is not stopped yet in flush-stop, which may lead to odd crashes in random places inside libavcodec. Modified files: . : ChangeLog ext/ffmpeg : gstffmpegdec.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ChangeLog.diff?r1=1.189&r2=1.190 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdec.c.diff?r1=1.111&r2=1.112 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-ffmpeg/ChangeLog,v retrieving revision 1.189 retrieving revision 1.190 diff -u -d -r1.189 -r1.190 --- ChangeLog 9 Aug 2005 17:08:23 -0000 1.189 +++ ChangeLog 15 Aug 2005 13:27:03 -0000 1.190 @@ -1,3 +1,10 @@ +2005-08-15 Ronald S. Bultje <rb...@ro...> + + * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_sink_event): + Flush buffers in flush-stop, not flush-start, since the task is not + stopped yet in flush-stop, which may lead to odd crashes in random + places inside libavcodec. 2005-08-09 Ronald S. Bultje <rb...@ro...> * ext/ffmpeg/gstffmpegcodecmap.c: Index: gstffmpegdec.c RCS file: /cvs/gstreamer/gst-ffmpeg/ext/ffmpeg/gstffmpegdec.c,v retrieving revision 1.111 retrieving revision 1.112 diff -u -d -r1.111 -r1.112 --- gstffmpegdec.c 5 Aug 2005 15:29:56 -0000 1.111 +++ gstffmpegdec.c 15 Aug 2005 13:27:03 -0000 1.112 @@ -916,7 +916,7 @@ } while (try++ < 10); } goto forward; - case GST_EVENT_FLUSH_START: + case GST_EVENT_FLUSH_STOP: if (ffmpegdec->opened) { avcodec_flush_buffers (ffmpegdec->context); |