diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-12-20 13:51:03 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-12-20 13:51:03 +0200 |
commit | 7cbd6c231bdbd1b6d850f6bd535fde1fb5795325 (patch) | |
tree | 7505bd189672764812c2ca69c47382ff71e7c049 /gst-libs | |
parent | 279cda20d7ad636fba911e818b88456f8e3f7100 (diff) |
photography: use a flags type instead of the uint
Also use 0 as default and let the implementation set something that they support.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/interfaces/photography.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gst-libs/gst/interfaces/photography.c b/gst-libs/gst/interfaces/photography.c index b61e75eb8..eeaa5d1ea 100644 --- a/gst-libs/gst/interfaces/photography.c +++ b/gst-libs/gst/interfaces/photography.c @@ -616,11 +616,9 @@ gst_photography_iface_class_init (gpointer g_class) /* Noise Reduction, Bayer an YCC noise reduction are enabled by default */ g_object_interface_install_property (g_class, - g_param_spec_uint (GST_PHOTOGRAPHY_PROP_NOISE_REDUCTION, + g_param_spec_flags (GST_PHOTOGRAPHY_PROP_NOISE_REDUCTION, "Noise Reduction settings", "Which noise reduction modes are enalbed in Camera (0 = disabled)", - 0, G_MAXUINT32, - GST_PHOTOGRAPHY_NOISE_REDUCTION_YCC | - GST_PHOTOGRAPHY_NOISE_REDUCTION_BAYER, - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + GST_TYPE_PHOTOGRAPHY_NOISE_REDUCTION, + 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); } |