From 10b6765fbaf8ca40aff388fdfba3bd4600cbd801 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Mon, 4 Apr 2011 13:28:32 +0200 Subject: [PATCH] camerabin2: Fix debug print to show audio/video depending on pad type --- gst/camerabin2/gstcamerabin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 3ee21549d3..1c10d7fe19 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -807,7 +807,7 @@ encodebin_find_pad (GstCameraBin * camera, gint pad_type) GstElement *encodebin = camera->encodebin; GST_DEBUG_OBJECT (camera, "Looking at encodebin pads, searching for %s pad", - VIDEO_PAD ? "video" : "audio"); + pad_type == VIDEO_PAD ? "video" : "audio"); iter = gst_element_iterate_sink_pads (encodebin); done = FALSE;