summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dv/gstdvdec.c')
-rw-r--r--ext/dv/gstdvdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index e28f8362..a33b7829 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -798,7 +798,9 @@ gst_dvdec_loop (GstElement *element)
}
/* oops list exhausted an nothing was found... */
if (!trylist) {
- gst_element_error (element, "could not negotiate");
+ gst_element_gerror(element, GST_ERROR_UNKNOWN,
+ g_strdup ("unconverted error, file a bug"),
+ g_strdup_printf("could not negotiate"));
return;
}
}