GNOME Bugzilla – Bug 639413
Camerabin should use output-selector:pad-negotiation-mode=active
Last modified: 2011-01-13 13:06:19 UTC
Latest output-selector has new pad-negotiation-mode property with default set as 'all'. Inside camerabin output-selector src pads are linked to viewfinder, videobin and imagebin parts, and caps for these parts should be negotiated independently so that we can support different formats for each part. With pad-negotiation-mode=all we require common format for all three parts. This can be fixed by setting output-selector:pad-negotiation-mode=active in camerabin.
Created attachment 178212 [details] [review] Proposed patch to set pad-negotation-mode=active
The property was introduced with commit 757dc90faa163a235e1d16791a0a0f8c74715768 Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk> Date: Tue Jan 4 12:42:50 2011 -0300 output-selector: Add pad-negotiation-mode property Adds getcaps/setcaps to output-selector and adds a property to select which type of negotiation should be done. The available modes are: * none: no negotiation (current behavior), getcaps return ANY and setcaps aren't set on any of the peers * all: use all pads (default), getcaps returns the intersection of peer pads and setcaps is set on all peers * active: getcaps and setcaps are proxied to the active pad https://bugzilla.gnome.org/show_bug.cgi?id=638381
commit 85a355fd84a7c50fe6d22e98c3fd122b75985e6e Author: Teemu Katajisto <teemu.katajisto@digia.com> Date: Thu Jan 13 13:36:09 2011 +0200 camerabin: set pad-negotiation-mode to active for output-selector Fixes #639413.