From 012d4c657708cc2a90dd737345b1a2af9a8ecdfa Mon Sep 17 00:00:00 2001 From: Christian Schaller Date: Fri, 6 May 2005 11:25:56 +0000 Subject: add ported videofilter to cvs head Original commit message from CVS: add ported videofilter to cvs head --- gst/videofilter/gstgamma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/videofilter/gstgamma.c') 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; } -- cgit