Commit 4e676414 authored by Wim Taymans's avatar Wim Taymans
Browse files

ext/vorbis/vorbisdec.c: Don't error out on 0-sized packets, just emit a...

ext/vorbis/vorbisdec.c: Don't error out on 0-sized packets, just emit a warning because this is not a fatal error. Fi...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_decode_buffer):
Don't error out on 0-sized packets, just emit a warning because this is
not a fatal error. Fixes #451145.
parent 757e358d
2007-06-27 Wim Taymans <wim@fluendo.com>
* ext/vorbis/vorbisdec.c: (vorbis_dec_decode_buffer):
Don't error out on 0-sized packets, just emit a warning because this is
not a fatal error. Fixes #451145.
2007-06-25 Stefan Kost <ensonic@users.sf.net>
 
* docs/plugins/gst-plugins-base-plugins.args:
......@@ -1150,8 +1150,11 @@ done:
/* ERRORS */
wrong_size:
{
GST_ELEMENT_ERROR (vd, STREAM, DECODE, (NULL), ("empty buffer received"));
result = GST_FLOW_ERROR;
/* don't error out here, just ignore the buffer, it's invalid for vorbis but
* not fatal. */
GST_ELEMENT_WARNING (vd, STREAM, DECODE, (NULL),
("empty buffer received, ignoring"));
result = GST_FLOW_OK;
vd->discont = TRUE;
goto done;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment