build: fix build with debug logging disabled.

This commit is contained in:
Stefan Kost 2009-12-03 22:14:34 +02:00
parent 2752ae841e
commit e6e9e3c589

View file

@ -2970,13 +2970,12 @@ autoplug_continue_cb (GstElement * element, GstPad * pad, GstCaps * caps,
{ {
GstCaps *subcaps; GstCaps *subcaps;
gboolean ret = FALSE; gboolean ret = FALSE;
GstPlayBin *playbin = group->playbin;
subcaps = gst_subtitle_overlay_create_factory_caps (); subcaps = gst_subtitle_overlay_create_factory_caps ();
ret = !gst_caps_can_intersect (subcaps, caps); ret = !gst_caps_can_intersect (subcaps, caps);
gst_caps_unref (subcaps); gst_caps_unref (subcaps);
GST_DEBUG_OBJECT (playbin, GST_DEBUG_OBJECT (group->playbin,
"continue autoplugging group %p for %s:%s, %" GST_PTR_FORMAT ": %d", "continue autoplugging group %p for %s:%s, %" GST_PTR_FORMAT ": %d",
group, GST_DEBUG_PAD_NAME (pad), caps, ret); group, GST_DEBUG_PAD_NAME (pad), caps, ret);