summaryrefslogtreecommitdiff
path: root/ext/ffmpeg/gstffmpegdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffmpeg/gstffmpegdemux.c')
-rw-r--r--ext/ffmpeg/gstffmpegdemux.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c
index f68ee83..142ce54 100644
--- a/ext/ffmpeg/gstffmpegdemux.c
+++ b/ext/ffmpeg/gstffmpegdemux.c
@@ -212,9 +212,8 @@ gst_ffmpegdemux_loop (GstElement *element)
ffmpegdemux->sinkpad),
oclass->in_plugin, 0, NULL);
if (res < 0) {
- gst_element_gerror(GST_ELEMENT (ffmpegdemux), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf ("Failed to open demuxer/file context"));
+ gst_element_error (GST_ELEMENT (ffmpegdemux),
+ "Failed to open demuxer/file context");
return;
}