diff options
author | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:25:56 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2005-05-06 11:25:56 +0000 |
commit | 012d4c657708cc2a90dd737345b1a2af9a8ecdfa (patch) | |
tree | 473597034531ad603aec199d64607476d7826805 /gst/videofilter/gstgamma.c | |
parent | 08b451f17fba2689412e6eb8a660bf259ad80037 (diff) |
add ported videofilter to cvs head
Original commit message from CVS:
add ported videofilter to cvs head
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; } |