diff options
Diffstat (limited to 'sys/qcam')
-rw-r--r-- | sys/qcam/gstqcamsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/qcam/gstqcamsrc.c b/sys/qcam/gstqcamsrc.c index ed0bc27a..535d6e52 100644 --- a/sys/qcam/gstqcamsrc.c +++ b/sys/qcam/gstqcamsrc.c @@ -167,7 +167,7 @@ gst_qcamsrc_class_init (GstQCamSrcClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_WIDTH, g_param_spec_int ("width", "width", "width", |