diff options
Diffstat (limited to 'ext/mplex/gstmplex.cc')
-rw-r--r-- | ext/mplex/gstmplex.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index ebf1a15a1..4a492976b 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -465,7 +465,7 @@ gst_mplex_sink_event (GstPad * sinkpad, GstObject * parent, GstEvent * event) /* now unblock the chain function */ GST_MPLEX_MUTEX_LOCK (mplex); - mplex->srcresult = GST_FLOW_WRONG_STATE; + mplex->srcresult = GST_FLOW_FLUSHING; GST_MPLEX_SIGNAL (mplex, mpad); GST_MPLEX_MUTEX_UNLOCK (mplex); /* no way to pause/restart loop task */ @@ -709,7 +709,7 @@ gst_mplex_src_activate_mode (GstPad * pad, GstObject * parent, /* end the muxing loop by forcing eos and unblock chains */ GST_MPLEX_MUTEX_LOCK (mplex); mplex->eos = TRUE; - mplex->srcresult = GST_FLOW_WRONG_STATE; + mplex->srcresult = GST_FLOW_FLUSHING; GST_MPLEX_SIGNAL_ALL (mplex); GST_MPLEX_MUTEX_UNLOCK (mplex); |