oggdemux: add some debug info
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Mar 2009 14:26:40 +0000 (15:26 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Mar 2009 14:26:40 +0000 (15:26 +0100)
Add some debug info to log when the seek worked.

ext/ogg/gstoggdemux.c

index ddb4696..6d640b3 100644 (file)
@@ -2149,7 +2149,10 @@ gst_ogg_demux_perform_seek (GstOggDemux * ogg, GstEvent * event)
 
   /* seek failed, make sure we continue the current chain */
   if (!res) {
+    GST_DEBUG_OBJECT (ogg, "seek failed");
     chain = ogg->current_chain;
+  } else {
+    GST_DEBUG_OBJECT (ogg, "seek success");
   }
 
   if (!chain)