mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
Always let FLUSH_START events flow downstream.
Original commit message from CVS: * ext/mad/gstmad.c: (gst_mad_sink_event): * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_sink_event): Always let FLUSH_START events flow downstream.
This commit is contained in:
parent
6fe41c32bb
commit
130c46902a
4 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-05-10 Edward Hervey <edward.hervey@collabora.co.uk>
|
||||
|
||||
* ext/mad/gstmad.c: (gst_mad_sink_event):
|
||||
* gst/mpegaudioparse/gstmpegaudioparse.c:
|
||||
(gst_mp3parse_sink_event):
|
||||
Always let FLUSH_START events flow downstream.
|
||||
|
||||
2008-05-07 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* configure.ac:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 9b28214399156457fd6b43d0604a47e4bdf19c28
|
||||
Subproject commit dbf8f3aeceb6e57de097951a670cd853b4886ad8
|
|
@ -988,6 +988,7 @@ gst_mad_sink_event (GstPad * pad, GstEvent * event)
|
|||
mad->tempsize = 0;
|
||||
mad_frame_mute (&mad->frame);
|
||||
mad_synth_mute (&mad->synth);
|
||||
case GST_EVENT_FLUSH_START:
|
||||
result = gst_pad_event_default (pad, event);
|
||||
|
||||
break;
|
||||
|
|
|
@ -558,7 +558,9 @@ gst_mp3parse_sink_event (GstPad * pad, GstEvent * event)
|
|||
res = gst_pad_push_event (mp3parse->srcpad, event);
|
||||
break;
|
||||
default:
|
||||
if (mp3parse->pending_segment && GST_EVENT_TYPE (event) != GST_EVENT_EOS) {
|
||||
if (mp3parse->pending_segment &&
|
||||
(GST_EVENT_TYPE (event) != GST_EVENT_EOS) &&
|
||||
(GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_START)) {
|
||||
/* Cache all events except EOS and the ones above if we have
|
||||
* a pending segment */
|
||||
mp3parse->pending_events =
|
||||
|
|
Loading…
Reference in a new issue