From: Louis-Francis Ratté-Boulianne Date: Fri, 1 Feb 2013 22:44:04 +0000 (-0500) Subject: mssdemux: handle FLUSH events by resetting the demuxer state X-Git-Tag: 1.19.3~507^2~13700 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ab3d09f818d9b2a012b6f637d8fd95f05cde5ec;p=platform%2Fupstream%2Fgstreamer.git mssdemux: handle FLUSH events by resetting the demuxer state --- diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c index 6fc33f49e9..d15ac36bd9 100644 --- a/ext/smoothstreaming/gstmssdemux.c +++ b/ext/smoothstreaming/gstmssdemux.c @@ -447,6 +447,9 @@ gst_mss_demux_event (GstPad * pad, GstEvent * event) gboolean ret = TRUE; switch (GST_EVENT_TYPE (event)) { + case GST_EVENT_FLUSH_STOP: + gst_mss_demux_reset (mssdemux); + break; case GST_EVENT_EOS: if (mssdemux->manifest_buffer == NULL) { GST_WARNING_OBJECT (mssdemux, "Received EOS without a manifest.");