diff options
author | Tommi Myöhänen <tommi.myohanen@digia.com> | 2011-07-21 08:58:27 +0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2011-08-03 22:04:45 -0300 |
commit | 9238647314b2e6cca6cbb9458eb3df956fea27de (patch) | |
tree | ea0ee6bbf395752f6ccb7c47fa7bb1d31569802f /gst-libs/gst/interfaces | |
parent | e98281d25f948e13a22c25b0eff822bef69e124b (diff) |
photography: add missing FLICKER_REDUCTION capability
GstPhotography API contains functions to get/set flicker reduction
mode, but GstPhotoCaps enumeration doesn't have item for it, so elements
are not able to report whether they support this feature or not.
Also add useful GST_PHOTOGRAPHY_CAPS_ALL for easily selecting all
capabilities at once.
https://bugzilla.gnome.org/show_bug.cgi?id=655318
Diffstat (limited to 'gst-libs/gst/interfaces')
-rw-r--r-- | gst-libs/gst/interfaces/photography.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h index ce8fea923..4852ea3e1 100644 --- a/gst-libs/gst/interfaces/photography.h +++ b/gst-libs/gst/interfaces/photography.h @@ -175,7 +175,9 @@ typedef enum GST_PHOTOGRAPHY_CAPS_APERTURE = (1 << 8), GST_PHOTOGRAPHY_CAPS_EXPOSURE = (1 << 9), GST_PHOTOGRAPHY_CAPS_SHAKE = (1 << 10), - GST_PHOTOGRAPHY_CAPS_NOISE_REDUCTION = (1 << 11) + GST_PHOTOGRAPHY_CAPS_NOISE_REDUCTION = (1 << 11), + GST_PHOTOGRAPHY_CAPS_FLICKER_REDUCTION = (1 << 12), + GST_PHOTOGRAPHY_CAPS_ALL = (~0) } GstPhotoCaps; typedef enum |