camerabin2: Fix debug print to show audio/video depending on pad type

This commit is contained in:
Robert Swain 2011-04-04 13:28:32 +02:00 committed by Thiago Santos
parent 74d4030e3f
commit 10b6765fba

View file

@ -807,7 +807,7 @@ encodebin_find_pad (GstCameraBin * camera, gint pad_type)
GstElement *encodebin = camera->encodebin; GstElement *encodebin = camera->encodebin;
GST_DEBUG_OBJECT (camera, "Looking at encodebin pads, searching for %s pad", 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); iter = gst_element_iterate_sink_pads (encodebin);
done = FALSE; done = FALSE;