mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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
This commit is contained in:
parent
68b0441a5e
commit
f609986c34
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue