mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
ext/vorbis/vorbisdec.c: Still produce an error when we receive an empty packet.
Original commit message from CVS: * ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event), (vorbis_dec_push), (vorbis_dec_chain): Still produce an error when we receive an empty packet.
This commit is contained in:
parent
9e6ae51849
commit
cab3cb22e5
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-05-03 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisdec.c: (vorbis_dec_sink_event),
|
||||||
|
(vorbis_dec_push), (vorbis_dec_chain):
|
||||||
|
Still produce an error when we receive an empty packet.
|
||||||
|
|
||||||
2006-05-03 Wim Taymans <wim@fluendo.com>
|
2006-05-03 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
|
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_chain_peer),
|
||||||
|
|
|
@ -914,8 +914,8 @@ done:
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
wrong_size:
|
wrong_size:
|
||||||
{
|
{
|
||||||
GST_WARNING_OBJECT (vd, "received empty packet");
|
GST_ELEMENT_ERROR (vd, STREAM, DECODE, (NULL), ("empty buffer received"));
|
||||||
result = GST_FLOW_OK;
|
result = GST_FLOW_ERROR;
|
||||||
vd->discont = TRUE;
|
vd->discont = TRUE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue