diff options
author | Jan Schmidt <jan@centricular.com> | 2016-11-02 02:25:00 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-11-02 11:02:12 +1100 |
commit | f609986c34e7575081ade283dcc7fc72fc2a2088 (patch) | |
tree | a3d812527368ead4f053119db87d8c57365cdb9a | |
parent | 68b0441a5e15d85045158a616a3bcc7cf11bf708 (diff) |
splitmuxsrc: Forward a not-linked error on the bus
Handle not-linked as for other fatal errors and post it
onto the bus so the app knows
-rw-r--r-- | gst/multifile/gstsplitmuxsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/multifile/gstsplitmuxsrc.c b/gst/multifile/gstsplitmuxsrc.c index 209d29f9b..5fc2aa928 100644 --- a/gst/multifile/gstsplitmuxsrc.c +++ b/gst/multifile/gstsplitmuxsrc.c @@ -548,7 +548,7 @@ gst_splitmux_pad_loop (GstPad * pad) /* Stop immediately on error or flushing */ GST_INFO_OBJECT (splitpad, "Stopping due to pad_push() result %d", ret); gst_pad_pause_task (pad); - if (ret < GST_FLOW_EOS) { + if (ret < GST_FLOW_EOS || ret == GST_FLOW_NOT_LINKED) { GST_ELEMENT_FLOW_ERROR (splitmux, ret); } } |