From 31dbc2eeba1f0472f549fcb607710245b6b74891 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 10 Jan 2011 15:19:52 -0300 Subject: [PATCH] wrappercamerabinsrc: Set output-selector pad-negotiation-mode to none Use output-selector none negotiation mode as it was the default before the last changes. This likely needs to be fixed to use 'active' on camerabin2 --- gst/camerabin2/gstwrappercamerabinsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index 2f3d793..9437b9a 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.c +++ b/gst/camerabin2/gstwrappercamerabinsrc.c @@ -351,6 +351,7 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc) self->output_selector = gst_element_factory_make ("output-selector", "outsel"); + g_object_set (self->output_selector, "pad-negotiation-mode", 0, NULL); gst_bin_add (GST_BIN (self), self->output_selector); { GstPad *pad = gst_element_get_static_pad (self->output_selector, "sink"); -- 2.7.4