camerabin2: Handle audio elements states
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 15 Feb 2011 17:58:28 +0000 (14:58 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 10 Mar 2011 11:56:48 +0000 (08:56 -0300)
commitfc9c9b0f2416b3575c99b8c75bd5b6c9e4903138
tree5840329736dca2847a456f65ac20c7e1f4ef5d40
parentbbfd1c73dd60a3b630963be53b0a5ebc71fcd009
camerabin2: Handle audio elements states

Audio elements are put into bin only when needed, so we need
to be careful with their states as camerabin2 won't manage
them if they are outside the bin.

Also we should reset their pad's flushing status before
starting a new capture.
gst/camerabin2/gstcamerabin2.c