From 5c01bf12fa195c01b90bf9a752ba3d49e5a07af3 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 9 Oct 2004 20:49:45 +0000 Subject: gst/auparse/gstauparse.c: Error out on invalid data (fixes #154807). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/auparse/gstauparse.c: (gst_auparse_chain): Error out on invalid data (fixes #154807). --- gst/auparse/gstauparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/auparse') diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index a9a764f3..9b84db0c 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -221,7 +221,7 @@ gst_auparse_chain (GstPad * pad, GstData * _data) head++; } else { - g_warning ("help, dunno what I'm looking at!\n"); + GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL)); gst_buffer_unref (buf); return; } -- cgit