Original commit message from CVS:
* 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-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * 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 <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c:
} while (try++ < 10);
}
goto forward;
- case GST_EVENT_FLUSH_START:
+ case GST_EVENT_FLUSH_STOP:
if (ffmpegdec->opened) {
avcodec_flush_buffers (ffmpegdec->context);
}