camerabin2: Use custom renegotiate event
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 15 Dec 2010 17:05:54 +0000 (14:05 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Dec 2010 16:24:55 +0000 (13:24 -0300)
commit1e6be5ec56210924d09b5b6f8689428f7fa4a613
tree6165f3724b6ea5ace7216108d4ef91a58df861de
parentb1a361b566cf0dfc3a188f5a23c13feab9d575a2
camerabin2: Use custom renegotiate event

Adds a custom renegotiate event that is pushed to the camerasrc pad
that needs renegotiation due to the user selecting a new capture
caps for that pad.

This is a way of notifying the source that it should update its caps, even
if it doesn't use pad allocs.
gst/camerabin2/gstcamerabin2.c