Playbin2: Don't leave unused parameters in debug statements.
authorEdward Hervey <bilboed@bilboed.com>
Wed, 25 Feb 2009 07:22:00 +0000 (08:22 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 25 Feb 2009 07:22:00 +0000 (08:22 +0100)
Fixes build on macosx

gst/playback/gstplaybin2.c

index b033a588985f8e5990d27e5c5628e926ebe76736..72f0137b37565da8bd4eaed06fcd02bebd575559 100644 (file)
@@ -2015,7 +2015,8 @@ shutdown:
         }
         /* streaming might error with NOT_LINKED if any of this fails,
          * but at least we tried */
         }
         /* streaming might error with NOT_LINKED if any of this fails,
          * but at least we tried */
-        GST_DEBUG_OBJECT (playbin, "creating fakesink", select->type);
+        GST_DEBUG_OBJECT (playbin, "creating fakesink (sinktype:%d)",
+            select->type);
         select->fakesink = gst_element_factory_make ("fakesink", "fakesink");
         if (select->fakesink) {
           GST_OBJECT_FLAG_UNSET (select->fakesink, GST_ELEMENT_IS_SINK);
         select->fakesink = gst_element_factory_make ("fakesink", "fakesink");
         if (select->fakesink) {
           GST_OBJECT_FLAG_UNSET (select->fakesink, GST_ELEMENT_IS_SINK);