summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorLasse Laukkanen <ext-lasse.2.laukkanen@nokia.com>2009-04-21 10:55:36 +0300
committerStefan Kost <ensonic@users.sf.net>2009-06-24 18:58:16 +0300
commita265e4d2b380ecae7a53996c55a42689912e5488 (patch)
treeb18d4e0dc58c069d6eebed25f8f1ce9844ba4fdd /gst
parent61b0a10d52cceff956e6d7d81d9e2a5dc14d4169 (diff)
downloadgst-plugins-bad-a265e4d2b380ecae7a53996c55a42689912e5488.tar.gz
gst-plugins-bad-a265e4d2b380ecae7a53996c55a42689912e5488.tar.bz2
gst-plugins-bad-a265e4d2b380ecae7a53996c55a42689912e5488.zip
camerabin: leave v4l2camsrc "capture-mode" as video mode when pausing
Diffstat (limited to 'gst')
-rw-r--r--gst/camerabin/gstcamerabin.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c
index ca2e8e18..8e53db4c 100644
--- a/gst/camerabin/gstcamerabin.c
+++ b/gst/camerabin/gstcamerabin.c
@@ -3201,12 +3201,6 @@ gst_camerabin_user_pause (GstCameraBin * camera)
g_object_set (G_OBJECT (camera->src_out_sel), "resend-latest", FALSE,
"active-pad", camera->pad_src_view, NULL);
- /* Enable view finder mode in v4l2camsrc */
- if (g_object_class_find_property (G_OBJECT_GET_CLASS
- (camera->src_vid_src), "capture-mode")) {
- g_object_set (G_OBJECT (camera->src_vid_src), "capture-mode", 0, NULL);
- }
-
/* Set view finder to PLAYING and leave videobin PAUSED */
gst_element_set_locked_state (camera->vidbin, TRUE);
gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING);
@@ -3222,12 +3216,6 @@ gst_camerabin_user_pause (GstCameraBin * camera)
g_object_set (G_OBJECT (camera->src_out_sel), "resend-latest", TRUE,
"active-pad", camera->pad_src_vid, NULL);
- /* Enable video recording mode in v4l2camsrc */
- if (g_object_class_find_property (G_OBJECT_GET_CLASS
- (camera->src_vid_src), "capture-mode")) {
- g_object_set (G_OBJECT (camera->src_vid_src), "capture-mode", 2, NULL);
- }
-
/* Bring all camerabin elements to PLAYING */
gst_element_set_locked_state (camera->vidbin, FALSE);
gst_element_set_state (GST_ELEMENT (camera), GST_STATE_PLAYING);