summaryrefslogtreecommitdiff
path: root/gst/gsttypefind.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-09-16 09:57:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-09-16 09:57:31 +0000
commitc4c3c998df2a1ac821aad053147eb5fba62a2afe (patch)
tree0b18f4cba079a7b5aedcd2b215f41815102df853 /gst/gsttypefind.c
parent331ee185969cc9abeccddbefc22cf59a9b09b7e3 (diff)
downloadgstreamer-c4c3c998df2a1ac821aad053147eb5fba62a2afe.tar.gz
reverting error patches before making a branch.BRANCH-ERROR-ROOTBRANCH-ERROR
Original commit message from CVS: reverting error patches before making a branch.
Diffstat (limited to 'gst/gsttypefind.c')
-rw-r--r--gst/gsttypefind.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/gsttypefind.c b/gst/gsttypefind.c
index 36e5fba7c7..11768efa39 100644
--- a/gst/gsttypefind.c
+++ b/gst/gsttypefind.c
@@ -236,9 +236,8 @@ end:
gst_buffer_unref (buf);
if (typefind->max_buffers && typefind->num_buffer >= typefind->max_buffers) {
- gst_element_gerror (GST_ELEMENT (typefind), GST_ERROR_INVALID_DATA,
- g_strdup (_("The data cannot be identified")),
- g_strdup_printf ("typefind could not determine type after %d buffers", typefind->num_buffer));
+ gst_element_error (GST_ELEMENT (typefind),
+ "typefind could not determine type after %d buffers", typefind->num_buffer);
}
}