diff options
author | Benjamin Otte <otte@gnome.org> | 2003-09-15 01:08:39 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-09-15 01:08:39 +0000 |
commit | 8817348af768345a644ed05f621f1b5392f325a0 (patch) | |
tree | 6222eed200b7433944e6c9801db9b78ff20038d7 /ext/esd | |
parent | 77a4320a0478e67df065fff13c3bba9852cc4842 (diff) |
converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdmon.c | 4 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index ae8d4fd4..ab85c151 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -266,7 +266,9 @@ gst_esdmon_get (GstPad *pad) "channels", GST_PROPS_INT (esdmon->channels) )) <= 0) { - gst_element_error (GST_ELEMENT (esdmon), "could not set caps"); + gst_element_gerror(GST_ELEMENT (esdmon), GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf("could not set caps")); return NULL; } } diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index f4557383..f9be01c6 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -266,7 +266,9 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf) esdsink = GST_ESDSINK (gst_pad_get_parent (pad)); if (!esdsink->negotiated) { - gst_element_error (GST_ELEMENT (esdsink), "not negotiated"); + gst_element_gerror(GST_ELEMENT (esdsink), GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf("not negotiated")); goto done; } |