photography: actualy use the enum in the vmethods
authorStefan Kost <ensonic@users.sf.net>
Thu, 14 Oct 2010 20:04:15 +0000 (23:04 +0300)
committerStefan Kost <ensonic@users.sf.net>
Thu, 14 Oct 2010 20:04:15 +0000 (23:04 +0300)
If we introduce a new GstPhotographyNoiseReduction, lets also use it
in the vmethods

gst-libs/gst/interfaces/photography.h

index 15f6bf7..0198788 100644 (file)
@@ -312,9 +312,9 @@ typedef struct _GstPhotographyInterface
   gboolean (*get_config) (GstPhotography * photo, GstPhotoSettings * config);
 
   gboolean (*get_noise_reduction) (GstPhotography * photo,
-    guint * noise_reduction);
+    GstPhotographyNoiseReduction * noise_reduction);
   gboolean (*set_noise_reduction) (GstPhotography * photo,
-    guint noise_reduction);
+    GstPhotographyNoiseReduction noise_reduction);
 
   /*< private > */
   gpointer _gst_reserved[GST_PADDING];