From 9238647314b2e6cca6cbb9458eb3df956fea27de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommi=20My=C3=B6h=C3=A4nen?= Date: Thu, 21 Jul 2011 08:58:27 +0300 Subject: [PATCH] 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 --- gst-libs/gst/interfaces/photography.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/interfaces/photography.h b/gst-libs/gst/interfaces/photography.h index ce8fea9231..4852ea3e10 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