ext/ogg/gstoggdemux.c: Add small debug line.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_reset),
(gst_ogg_demux_chain_elem_pad):
Add small debug line.
Pass return code from the internal decoder instead of the too generic
GST_FLOW_ERROR.
This commit is contained in:
Wim Taymans 2008-04-03 10:19:43 +00:00
parent 49467c4a63
commit ac5bff82c5
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-04-03 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_reset),
(gst_ogg_demux_chain_elem_pad):
Add small debug line.
Pass return code from the internal decoder instead of the too generic
GST_FLOW_ERROR.
2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
* gst-libs/gst/cdda/Makefile.am:

2
common

@ -1 +1 @@
Subproject commit 5421815aeed8b2d73a4d4d4a4b8eb2c93f1b7d02
Subproject commit fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b

View file

@ -431,6 +431,8 @@ gst_ogg_pad_reset (GstOggPad * pad)
{
ogg_stream_reset (&pad->stream);
GST_DEBUG_OBJECT (pad, "doing reset");
/* clear continued pages */
g_list_foreach (pad->continued, (GFunc) gst_ogg_page_free, NULL);
g_list_free (pad->continued);
@ -834,7 +836,7 @@ no_decoder:
decoder_error:
{
GST_WARNING_OBJECT (ogg, "internal decoder error");
return GST_FLOW_ERROR;
return ret;
}
}