diff options
Diffstat (limited to 'gst-libs/gst/riff/riff-read.c')
-rw-r--r-- | gst-libs/gst/riff/riff-read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index 815b3a7b..ca09a526 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -845,7 +845,8 @@ gst_riff_read_header (GstRiffRead *riff, if (!gst_riff_peek_head (riff, &tag, &length, NULL)) return FALSE; if (tag != GST_RIFF_TAG_RIFF) { - GST_WARNING ("Not a RIFF file"); + gst_element_error (GST_ELEMENT (riff), + "Not a RIFF file"); return FALSE; } gst_bytestream_flush_fast (riff->bs, 8); |