summaryrefslogtreecommitdiff
path: root/gst/flv/gstflvdemux.c
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@osg.samsung.com>2016-08-19 11:11:03 -0700
committerThibault Saunier <tsaunier@gnome.org>2016-08-26 19:23:26 -0300
commit150edef83078b76890753833235ba4acc3070ad0 (patch)
treec01cecbde1224856de4ec298ee33528584579af0 /gst/flv/gstflvdemux.c
parentd40f007d61b61712223640af7808a82127d03963 (diff)
downloadgstreamer-plugins-good-150edef83078b76890753833235ba4acc3070ad0.tar.gz
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
Diffstat (limited to 'gst/flv/gstflvdemux.c')
-rw-r--r--gst/flv/gstflvdemux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 2593be872..e324b18fc 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -2729,9 +2729,7 @@ pause:
GST_WARNING_OBJECT (demux, "failed pushing EOS on streams");
}
} else if (ret == GST_FLOW_NOT_LINKED || ret < GST_FLOW_EOS) {
- GST_ELEMENT_ERROR (demux, STREAM, FAILED,
- ("Internal data stream error."),
- ("stream stopped, reason %s", reason));
+ GST_ELEMENT_FLOW_ERROR (demux, ret);
gst_flv_demux_push_src_event (demux, gst_event_new_eos ());
}
gst_object_unref (demux);