camerabin: set pad-negotiation-mode to active for output-selector

Fixes #639413.
This commit is contained in:
Teemu Katajisto 2011-01-13 13:36:09 +02:00 committed by Stefan Kost
parent f9dfd1effb
commit 85a355fd84

View file

@ -615,6 +615,9 @@ camerabin_create_src_elements (GstCameraBin * camera)
gst_camerabin_create_and_add_element (cbin, "output-selector")))
goto done;
/* Set pad-negotiation-mode to active */
g_object_set (camera->src_out_sel, "pad-negotiation-mode", 2, NULL);
/* Set default "driver-name" for v4l2camsrc if not set */
/* FIXME: v4l2camsrc specific */
if (g_object_class_find_property (G_OBJECT_GET_CLASS (camera->src_vid_src),