summaryrefslogtreecommitdiffstats
path: root/ext/mikmod
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 /ext/mikmod
parent8817348af768345a644ed05f621f1b5392f325a0 (diff)
reverting error patch before making a branch.
Original commit message from CVS: reverting error patch before making a branch.
Diffstat (limited to 'ext/mikmod')
-rw-r--r--ext/mikmod/gstmikmod.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mikmod/gstmikmod.c b/ext/mikmod/gstmikmod.c
index 7767bcd9..6ef507c2 100644
--- a/ext/mikmod/gstmikmod.c
+++ b/ext/mikmod/gstmikmod.c
@@ -310,9 +310,8 @@ gst_mikmod_loop (GstElement *element)
if (!GST_PAD_CAPS (mikmod->srcpad)) {
if (gst_mikmod_negotiate (mikmod) <= 0) {
- gst_element_gerror(GST_ELEMENT (mikmod), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf("Failed to negotiate with next element in mikmod"));
+ gst_element_error (GST_ELEMENT (mikmod),
+ "Failed to negotiate with next element in mikmod");
return;
}
}