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 8497333f5e8fec7cbf1a889282cfb088a24b6924..b1e1bbccbd09d1114d39c9bc98311b6e904e265a 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 5421815aeed8b2d73a4d4d4a4b8eb2c93f1b7d02..fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 5421815aeed8b2d73a4d4d4a4b8eb2c93f1b7d02
+Subproject commit fda6da5f2b9b000f7e1df8ffb44a6185ffd9799b
index 72a321e662ca432f78f9aa89f27d23082e9576b0..a03c5399acbc743d07f455e4e1e0d1484dfd72a1 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;
   }
 }