camerabin2: Various fixes
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 2 Dec 2010 06:44:37 +0000 (03:44 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 8 Dec 2010 18:38:29 +0000 (15:38 -0300)
commit122a7bd556c90f6bd7af94c0f6a6dec9f289d1a3
treefbae5024ff6456b11d2f1095fef21a83aa8824da
parentfb497590c71fbf5bb03950b44b85a75195490c97
camerabin2: Various fixes

As video recording bin's state is locked, we should always
remember of setting it to NULL when camerabin2 goes to NULL

Be more careful when using elements that might not
have been created yet

And do not set location property recursively on videorecordingbin
gst/camerabin2/gstcamerabin2.c
gst/camerabin2/gstvideorecordingbin.c