summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-10-14 13:41:00 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2010-10-14 14:09:39 -0300
commite3d120d725b56d6367e69d754e383f9e28fbfa77 (patch)
treea889b7d1583e7ceb546e44097441249291e49086 /gst-libs
parent96a7f9c8b1195129f0c2157cbbcbaa6cab45056e (diff)
photography: Avoid breaking ABI
Move the newly added functions/fields to the end of the structs
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/interfaces/photography.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h
index 002503bc3..ca67fbb18 100644
--- a/gst-libs/gst/interfaces/photography.h
+++ b/gst-libs/gst/interfaces/photography.h
@@ -209,7 +209,6 @@ typedef struct
GstColourToneMode tone_mode;
GstSceneMode scene_mode;
GstFlashMode flash_mode;
- guint noise_reduction;
guint32 exposure;
guint aperture;
gfloat ev_compensation;
@@ -217,6 +216,7 @@ typedef struct
gfloat zoom;
GstFlickerReductionMode flicker_mode;
GstFocusMode focus_mode;
+ guint noise_reduction;
} GstPhotoSettings;
/**
@@ -280,8 +280,6 @@ typedef struct _GstPhotographyInterface
GstSceneMode * scene_mode);
gboolean (*get_flash_mode) (GstPhotography * photo,
GstFlashMode * flash_mode);
- gboolean (*get_noise_reduction) (GstPhotography * photo,
- guint * noise_reduction);
gboolean (*get_zoom) (GstPhotography * photo, gfloat * zoom);
gboolean (*get_flicker_mode) (GstPhotography * photo,
GstFlickerReductionMode * flicker_mode);
@@ -300,8 +298,6 @@ typedef struct _GstPhotographyInterface
GstSceneMode scene_mode);
gboolean (*set_flash_mode) (GstPhotography * photo,
GstFlashMode flash_mode);
- gboolean (*set_noise_reduction) (GstPhotography * photo,
- guint noise_reduction);
gboolean (*set_zoom) (GstPhotography * photo, gfloat zoom);
gboolean (*set_flicker_mode) (GstPhotography * photo,
GstFlickerReductionMode flicker_mode);
@@ -315,6 +311,11 @@ typedef struct _GstPhotographyInterface
gboolean (*set_config) (GstPhotography * photo, GstPhotoSettings * config);
gboolean (*get_config) (GstPhotography * photo, GstPhotoSettings * config);
+ gboolean (*get_noise_reduction) (GstPhotography * photo,
+ guint * noise_reduction);
+ gboolean (*set_noise_reduction) (GstPhotography * photo,
+ guint noise_reduction);
+
/*< private > */
gpointer _gst_reserved[GST_PADDING];
} GstPhotographyInterface;