mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
wrappercamerabinsrc: change output-selector negotiation mode
In 0.10 camerabin2 controlled the negotiation strictly and the output-selector wouldn't forward setcaps calls. In 0.11 the renegotiation events are already in core and we can allow the pipeline to handle it without much control from camerabin part (I hope), so this patch makes output-selector forward caps negotiation events to the active pad.
This commit is contained in:
parent
4a4f06abcf
commit
ad9822dea7
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
|
||||||
|
|
||||||
self->output_selector =
|
self->output_selector =
|
||||||
gst_element_factory_make ("output-selector", "outsel");
|
gst_element_factory_make ("output-selector", "outsel");
|
||||||
g_object_set (self->output_selector, "pad-negotiation-mode", 0, NULL);
|
g_object_set (self->output_selector, "pad-negotiation-mode", 2, NULL);
|
||||||
gst_bin_add (GST_BIN (self), self->output_selector);
|
gst_bin_add (GST_BIN (self), self->output_selector);
|
||||||
{
|
{
|
||||||
GstPad *pad = gst_element_get_static_pad (self->output_selector, "sink");
|
GstPad *pad = gst_element_get_static_pad (self->output_selector, "sink");
|
||||||
|
|
Loading…
Reference in a new issue