diff options
author | Lasse Laukkanen <ext-lasse.2.laukkanen@nokia.com> | 2010-06-08 10:04:52 +0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-09-20 18:26:48 -0300 |
commit | 3e6a4edb15e4cd7e38c154bac691b22ce0c30c7b (patch) | |
tree | 017f88ce674fefa1e96a62e296d8ccf4565c3b43 /gst/camerabin | |
parent | 9bace27300ed323f4ce06b5dc9122276a1742a7e (diff) | |
download | gstreamer-plugins-bad-3e6a4edb15e4cd7e38c154bac691b22ce0c30c7b.tar.gz |
camerabin: remove caching photography interface settings
Camerabin doesn't implement photography interface, so we
don't need caching the video source properties anymore.
Diffstat (limited to 'gst/camerabin')
-rw-r--r-- | gst/camerabin/gstcamerabin.c | 10 | ||||
-rw-r--r-- | gst/camerabin/gstcamerabin.h | 3 |
2 files changed, 0 insertions, 13 deletions
diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index ff725bb04..b96c18ea2 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -474,14 +474,6 @@ camerabin_setup_src_elements (GstCameraBin * camera) gst_camerabin_monitor_video_source_properties (camera); - /* Update photography interface settings */ - if (GST_IS_ELEMENT (camera->src_vid_src) && - gst_element_implements_interface (camera->src_vid_src, - GST_TYPE_PHOTOGRAPHY)) { - gst_photography_set_config (GST_PHOTOGRAPHY (camera->src_vid_src), - &camera->photo_settings); - } - if (camera->width > 0 && camera->height > 0) { gst_structure_set (st, "width", G_TYPE_INT, camera->width, @@ -3129,8 +3121,6 @@ gst_camerabin_init (GstCameraBin * camera, GstCameraBinClass * gclass) camera->app_video_filter = NULL; camera->active_bin = NULL; - - memset (&camera->photo_settings, 0, sizeof (GstPhotoSettings)); } static void diff --git a/gst/camerabin/gstcamerabin.h b/gst/camerabin/gstcamerabin.h index bd4a8e940..c2a6ffe1d 100644 --- a/gst/camerabin/gstcamerabin.h +++ b/gst/camerabin/gstcamerabin.h @@ -149,9 +149,6 @@ struct _GstCameraBin gint pre_night_fps_n; gint pre_night_fps_d; - /* Cache the photography interface settings */ - GstPhotoSettings photo_settings; - /* Buffer probe id for captured image handling */ gulong image_captured_id; |