summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1videoparse
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-09-15 00:34:47 +0000
committerBenjamin Otte <otte@gnome.org>2003-09-15 00:34:47 +0000
commit36a375425114527faef71ad4193c41bcfe738a4b (patch)
tree2a8e98cabc9f803b20db5846c0f47a3e2b6b0416 /gst/mpeg1videoparse
parent295fbb55f1a7ae28b737dabea78aa6ae390fa082 (diff)
downloadgst-plugins-bad-36a375425114527faef71ad4193c41bcfe738a4b.tar.gz
gst-plugins-bad-36a375425114527faef71ad4193c41bcfe738a4b.tar.bz2
gst-plugins-bad-36a375425114527faef71ad4193c41bcfe738a4b.zip
converted gst_element_error to new format in gst/ - gettext pending
Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
Diffstat (limited to 'gst/mpeg1videoparse')
-rw-r--r--gst/mpeg1videoparse/gstmp1videoparse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c
index 4af360fd..e82d7588 100644
--- a/gst/mpeg1videoparse/gstmp1videoparse.c
+++ b/gst/mpeg1videoparse/gstmp1videoparse.c
@@ -198,8 +198,9 @@ mp1videoparse_parse_seq (Mp1VideoParse *mp1videoparse, GstBuffer *buf)
gst_caps_debug (caps, "New mpeg1videoparse caps");
if (gst_pad_try_set_caps (mp1videoparse->srcpad, caps) <= 0) {
- gst_element_error (GST_ELEMENT (mp1videoparse),
- "mp1videoparse: failed to negotiate a new format");
+ gst_element_gerror(GST_ELEMENT (mp1videoparse), GST_ERROR_UNKNOWN,
+ g_strdup ("unconverted error, file a bug"),
+ g_strdup_printf ("mp1videoparse: failed to negotiate a new format"));
return;
}
}