mssdemux: handle FLUSH events by resetting the demuxer state
This commit is contained in:
parent
4a630f86f8
commit
8ab3d09f81
@ -447,6 +447,9 @@ gst_mss_demux_event (GstPad * pad, GstEvent * event)
|
|||||||
gboolean ret = TRUE;
|
gboolean ret = TRUE;
|
||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
|
case GST_EVENT_FLUSH_STOP:
|
||||||
|
gst_mss_demux_reset (mssdemux);
|
||||||
|
break;
|
||||||
case GST_EVENT_EOS:
|
case GST_EVENT_EOS:
|
||||||
if (mssdemux->manifest_buffer == NULL) {
|
if (mssdemux->manifest_buffer == NULL) {
|
||||||
GST_WARNING_OBJECT (mssdemux, "Received EOS without a manifest.");
|
GST_WARNING_OBJECT (mssdemux, "Received EOS without a manifest.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user