diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2016-08-19 11:13:44 -0700 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-08-26 19:23:32 -0300 |
commit | 80924aab1569a321be5115726afc87e49c342aaf (patch) | |
tree | 6970e168df851f2071b127bfbbfd612d8852e423 | |
parent | 410b0e3842c1fa7cd1331946d2b980f72873e408 (diff) |
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
-rw-r--r-- | ext/libav/gstavdemux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c index 4de375635c..e1316cda6b 100644 --- a/ext/libav/gstavdemux.c +++ b/ext/libav/gstavdemux.c @@ -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; |