diff options
Diffstat (limited to 'gst/videofilter/gstgamma.c')
-rw-r--r-- | gst/videofilter/gstgamma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/videofilter/gstgamma.c b/gst/videofilter/gstgamma.c index 5a7edf2b..025eeac6 100644 --- a/gst/videofilter/gstgamma.c +++ b/gst/videofilter/gstgamma.c @@ -164,6 +164,9 @@ gst_gamma_class_init (gpointer g_class, gpointer class_data) gobject_class = G_OBJECT_CLASS (g_class); videofilter_class = GST_VIDEOFILTER_CLASS (g_class); + gobject_class->set_property = gst_gamma_set_property; + gobject_class->get_property = gst_gamma_get_property; + g_object_class_install_property (gobject_class, ARG_GAMMA, g_param_spec_double ("gamma", "Gamma", "gamma", 0.01, 10, 1, G_PARAM_READWRITE)); @@ -177,9 +180,6 @@ gst_gamma_class_init (gpointer g_class, gpointer class_data) g_param_spec_double ("bluegamma", "Gamma_b", "gamma value for the blue channel", 0.01, 10, 1, G_PARAM_READWRITE)); - gobject_class->set_property = gst_gamma_set_property; - gobject_class->get_property = gst_gamma_get_property; - videofilter_class->setup = gst_gamma_setup; } |