ext/ogg/gstoggdemux.c: Add small debug line.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 3 Apr 2008 10:19:43 +0000 (10:19 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 3 Apr 2008 10:19:43 +0000 (10:19 +0000)
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.

ChangeLog
common
ext/ogg/gstoggdemux.c

index 8497333..b1e1bbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
diff --git a/common b/common
index 5421815..fda6da5 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 5421815aeed8b2d73a4d4d4a4b8eb2c93f1b7d02
+Subproject commit fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b
index 72a321e..a03c539 100644 (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;
   }
 }