photography interface: update the noise_reduction type from guint to GstPhotographyNoiseReduction

https://bugzilla.gnome.org/show_bug.cgi?id=616814
This commit is contained in:
Hu Gang 2011-02-10 10:35:18 +08:00 committed by Tim-Philipp Müller
parent 3f683e0288
commit a11b314b1e
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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);