From 85a355fd84a7c50fe6d22e98c3fd122b75985e6e Mon Sep 17 00:00:00 2001 From: Teemu Katajisto Date: Thu, 13 Jan 2011 13:36:09 +0200 Subject: [PATCH] camerabin: set pad-negotiation-mode to active for output-selector Fixes #639413. --- gst/camerabin/gstcamerabin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index e7f13dae8f..9a94a063bf 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -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),