diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-01-09 09:48:43 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-01-09 09:48:43 +0000 |
commit | b5c817cb14237c402684c24010875350b8edde09 (patch) | |
tree | d87b037ba211f7565ad1e41c7f2d2515a0814c20 /gst-libs/gst/riff | |
parent | d29c7c8c08c62e6a104a7a5b436368426db25d93 (diff) | |
download | gst-plugins-bad-b5c817cb14237c402684c24010875350b8edde09.tar.gz gst-plugins-bad-b5c817cb14237c402684c24010875350b8edde09.tar.bz2 gst-plugins-bad-b5c817cb14237c402684c24010875350b8edde09.zip |
ext/divx/gstdivxenc.c: Use explicit caps - fix capsnego.
Original commit message from CVS:
2004-01-09 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
Use explicit caps - fix capsnego.
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
Remove macro-inside-macro which caused compile errors.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_header):
Error out if it's not a RIFF file. Else we error out without
gst_element_error() which is not good...
Diffstat (limited to 'gst-libs/gst/riff')
-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); |