mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
This commit is contained in:
parent
410b0e3842
commit
80924aab15
1 changed files with 1 additions and 3 deletions
|
@ -1567,9 +1567,7 @@ pause:
|
|||
gst_ffmpegdemux_push_event (demux, gst_event_new_eos ());
|
||||
}
|
||||
} else if (ret == GST_FLOW_NOT_LINKED || ret < GST_FLOW_EOS) {
|
||||
GST_ELEMENT_ERROR (demux, STREAM, FAILED,
|
||||
("Internal data stream error."),
|
||||
("streaming stopped, reason %s", gst_flow_get_name (ret)));
|
||||
GST_ELEMENT_FLOW_ERROR (demux, ret);
|
||||
gst_ffmpegdemux_push_event (demux, gst_event_new_eos ());
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue