diff options
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-11-30 18:19:20 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-12-08 15:38:28 -0300 |
commit | cb915196e2882a68dc8435791d78c3a7dfa330a3 (patch) | |
tree | 961bc410edcb5102b9e470ef4d28fcb4791dd63f /gst/camerabin2/gstcamerabin2.h | |
parent | 0ae8df431212bc90985fdf1b50745b68c53df5a6 (diff) |
camerabin2: Handle vidbin state change individually
Keep vidbin state locked to avoid it going to playing without
being used and leaving an empty file created.
Check the docs on the code for details on the handling.
Diffstat (limited to 'gst/camerabin2/gstcamerabin2.h')
-rw-r--r-- | gst/camerabin2/gstcamerabin2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/camerabin2/gstcamerabin2.h b/gst/camerabin2/gstcamerabin2.h index beafd4cd3..a859d80f3 100644 --- a/gst/camerabin2/gstcamerabin2.h +++ b/gst/camerabin2/gstcamerabin2.h @@ -38,6 +38,9 @@ struct _GstCameraBin GstPipeline pipeline; GstElement *src; + gulong src_capture_notify_id; + + GstElement *vidbin; /* properties */ gint mode; |