gst/playback/gstdecodebin.c: Fix compilation.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 29 Sep 2006 17:35:01 +0000 (17:35 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 29 Sep 2006 17:35:01 +0000 (17:35 +0000)
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (no_more_pads):
Fix compilation.

ChangeLog
gst/playback/gstdecodebin.c

index cdf19f1..b3ab21a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-09-29  Wim Taymans  <wim@fluendo.com>
 
+       * gst/playback/gstdecodebin.c: (no_more_pads):
+       Fix compilation.
+
+2006-09-29  Wim Taymans  <wim@fluendo.com>
+
        * gst/playback/gstdecodebin.c: (new_caps):
        Remove g_print
 
index a08c07f..1cefcd3 100644 (file)
@@ -1265,9 +1265,7 @@ dynamic_remove (GstDynamic * dynamic)
 static void
 no_more_pads (GstElement * element, GstDynamic * dynamic)
 {
-  GstDecodeBin *decode_bin = dynamic->decode_bin;
-
-  GST_DEBUG_OBJECT (decode_bin, "no more pads on element %s",
+  GST_DEBUG_OBJECT (dynamic->decode_bin, "no more pads on element %s",
       GST_ELEMENT_NAME (element));
 
   dynamic_remove (dynamic);