diff options
author | Hu Gang <gang.a.hu@intel.com> | 2011-02-10 10:35:18 +0800 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-02-10 11:49:50 +0000 |
commit | a11b314b1ecceb7311162962c2f6b4e7fb21ede7 (patch) | |
tree | 662fb9ac5636521e62a8939c8bb19d07e9a5ff46 /gst-libs | |
parent | 3f683e02887f39675c814c1e418dd4e3beb9bc1d (diff) | |
download | gstreamer-plugins-bad-a11b314b1ecceb7311162962c2f6b4e7fb21ede7.tar.gz |
photography interface: update the noise_reduction type from guint to GstPhotographyNoiseReduction
https://bugzilla.gnome.org/show_bug.cgi?id=616814
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/interfaces/photography.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/interfaces/photography.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gst-libs/gst/interfaces/photography.c b/gst-libs/gst/interfaces/photography.c index 95e0f307a..878b185eb 100644 --- a/gst-libs/gst/interfaces/photography.c +++ b/gst-libs/gst/interfaces/photography.c @@ -313,7 +313,7 @@ GST_PHOTOGRAPHY_FUNC_TEMPLATE (flash_mode, GstFlashMode); * * Since: 0.10.21 */ -GST_PHOTOGRAPHY_FUNC_TEMPLATE (noise_reduction, guint); +GST_PHOTOGRAPHY_FUNC_TEMPLATE (noise_reduction, GstPhotographyNoiseReduction); /** * gst_photography_set_zoom: diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h index 1ab652ca7..ce8fea923 100644 --- a/gst-libs/gst/interfaces/photography.h +++ b/gst-libs/gst/interfaces/photography.h @@ -217,7 +217,7 @@ typedef struct gfloat zoom; GstFlickerReductionMode flicker_mode; GstFocusMode focus_mode; - guint noise_reduction; + GstPhotographyNoiseReduction noise_reduction; } GstPhotoSettings; /** @@ -341,7 +341,7 @@ gboolean gst_photography_get_scene_mode (GstPhotography * photo, gboolean gst_photography_get_flash_mode (GstPhotography * photo, GstFlashMode * flash_mode); gboolean gst_photography_get_noise_reduction (GstPhotography * photo, - guint * noise_reduction); + GstPhotographyNoiseReduction * noise_reduction); gboolean gst_photography_get_zoom (GstPhotography * photo, gfloat * zoom); gboolean gst_photography_get_flicker_mode (GstPhotography * photo, GstFlickerReductionMode *mode); @@ -363,7 +363,7 @@ gboolean gst_photography_set_scene_mode (GstPhotography * photo, gboolean gst_photography_set_flash_mode (GstPhotography * photo, GstFlashMode flash_mode); gboolean gst_photography_set_noise_reduction (GstPhotography * photo, - guint noise_reduction); + GstPhotographyNoiseReduction noise_reduction); gboolean gst_photography_set_zoom (GstPhotography * photo, gfloat zoom); gboolean gst_photography_set_flicker_mode (GstPhotography * photo, GstFlickerReductionMode mode); |