diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2016-08-19 11:12:10 -0700 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2016-08-26 19:23:31 -0300 |
commit | 2fb716409c928583ab2e8384eca261d0f45822dc (patch) | |
tree | 5f409f58b036ce3f847f46e58efb4aa525cfba05 /sys/applemedia | |
parent | 268c18054d47052d171b43bf6b5b5d33ae391b58 (diff) |
Use the new API to post flow ERROR messages on the bus
https://bugzilla.gnome.org/show_bug.cgi?id=770158
Diffstat (limited to 'sys/applemedia')
-rw-r--r-- | sys/applemedia/avfassetsrc.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/applemedia/avfassetsrc.m b/sys/applemedia/avfassetsrc.m index 388d7e13e..856828160 100644 --- a/sys/applemedia/avfassetsrc.m +++ b/sys/applemedia/avfassetsrc.m @@ -535,8 +535,7 @@ gst_avf_asset_src_read_data (GstAVFAssetSrc *self, GstPad *pad, } if (combined_ret != GST_FLOW_OK) { - GST_ELEMENT_ERROR (self, STREAM, FAILED, ("Internal data stream error."), - ("stream stopped reason %s", gst_flow_get_name (ret))); + GST_ELEMENT_FLOW_ERROR (self, ret); } gst_pad_pause_task (pad); |