photography: add missing FLICKER_REDUCTION capability
authorTommi Myöhänen <tommi.myohanen@digia.com>
Thu, 21 Jul 2011 05:58:27 +0000 (08:58 +0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 4 Aug 2011 01:04:45 +0000 (22:04 -0300)
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

index ce8fea9..4852ea3 100644 (file)
@@ -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