summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossgst.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-09-15 00:42:39 +0000
committerBenjamin Otte <otte@gnome.org>2003-09-15 00:42:39 +0000
commit77a4320a0478e67df065fff13c3bba9852cc4842 (patch)
treed8c69a0c324dc45934baa6ea103bed4e10be70eb /sys/oss/gstossgst.c
parent2cefb5042912663dbc507f6b717232119549e8c1 (diff)
converted gst_element_error to new format in sys/oss - gettext pending
Original commit message from CVS: converted gst_element_error to new format in sys/oss - gettext pending
Diffstat (limited to 'sys/oss/gstossgst.c')
-rw-r--r--sys/oss/gstossgst.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/oss/gstossgst.c b/sys/oss/gstossgst.c
index 070c693a..a680518c 100644
--- a/sys/oss/gstossgst.c
+++ b/sys/oss/gstossgst.c
@@ -382,7 +382,9 @@ gst_ossgst_spawn_process (GstOssGst *ossgst)
if((ossgst->childpid = fork()) == -1)
{
perror("fork");
- gst_element_error(GST_ELEMENT(ossgst),"forking");
+ gst_element_gerror(GST_ELEMENT(ossgst), GST_ERROR_UNKNOWN,
+ g_strdup ("unconverted error, file a bug"),
+ g_strdup_printf("forking"));
return FALSE;
}
GST_DEBUG ("forked %d", ossgst->childpid);
@@ -415,7 +417,9 @@ gst_ossgst_spawn_process (GstOssGst *ossgst)
/* will only reach if error */
perror("exec");
- gst_element_error(GST_ELEMENT(ossgst),"starting child process");
+ gst_element_gerror(GST_ELEMENT(ossgst), GST_ERROR_UNKNOWN,
+ g_strdup ("unconverted error, file a bug"),
+ g_strdup_printf("starting child process"));
return FALSE;
}