diff options
Diffstat (limited to 'ext/tarkin')
-rw-r--r-- | ext/tarkin/gsttarkindec.c | 2 | ||||
-rw-r--r-- | ext/tarkin/gsttarkinenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c index 88713ae7..b8f3f6d0 100644 --- a/ext/tarkin/gsttarkindec.c +++ b/ext/tarkin/gsttarkindec.c @@ -147,7 +147,7 @@ gst_tarkindec_class_init (TarkinDecClass * klass) g_param_spec_int ("bitrate", "bitrate", "bitrate", G_MININT, G_MAXINT, 3000, G_PARAM_READWRITE)); - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); gobject_class->set_property = gst_tarkindec_set_property; gobject_class->get_property = gst_tarkindec_get_property; diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c index 2b77ec20..6980d80a 100644 --- a/ext/tarkin/gsttarkinenc.c +++ b/ext/tarkin/gsttarkinenc.c @@ -155,7 +155,7 @@ gst_tarkinenc_class_init (TarkinEncClass * klass) "Number of vanishing moments for the analysis filter", 1, 4, 2, G_PARAM_READWRITE)); - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); gobject_class->set_property = gst_tarkinenc_set_property; gobject_class->get_property = gst_tarkinenc_get_property; |