summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossgst.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-09-16 10:00:02 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-09-16 10:00:02 +0000
commit54b0fe0f9472e1e6554dba0b9697151a9ef319a3 (patch)
tree2f0cb83625c9c8332600418933f0b6690fd6869e /sys/oss/gstossgst.c
parent8817348af768345a644ed05f621f1b5392f325a0 (diff)
reverting error patch before making a branch.
Original commit message from CVS: reverting error patch before making a branch.
Diffstat (limited to 'sys/oss/gstossgst.c')
-rw-r--r--sys/oss/gstossgst.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/oss/gstossgst.c b/sys/oss/gstossgst.c
index a680518c..070c693a 100644
--- a/sys/oss/gstossgst.c
+++ b/sys/oss/gstossgst.c
@@ -382,9 +382,7 @@ gst_ossgst_spawn_process (GstOssGst *ossgst)
if((ossgst->childpid = fork()) == -1)
{
perror("fork");
- gst_element_gerror(GST_ELEMENT(ossgst), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf("forking"));
+ gst_element_error(GST_ELEMENT(ossgst),"forking");
return FALSE;
}
GST_DEBUG ("forked %d", ossgst->childpid);
@@ -417,9 +415,7 @@ gst_ossgst_spawn_process (GstOssGst *ossgst)
/* will only reach if error */
perror("exec");
- gst_element_gerror(GST_ELEMENT(ossgst), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf("starting child process"));
+ gst_element_error(GST_ELEMENT(ossgst),"starting child process");
return FALSE;
}