summaryrefslogtreecommitdiffstats
path: root/ext/mimic/gstmimdec.c
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2007-11-10 05:09:50 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-03-03 14:34:06 -0500
commitd9511ab542cf3597a81f40668f62474befd91be1 (patch)
tree712a56dac9a2be4a5d4974431fff87435c278dc3 /ext/mimic/gstmimdec.c
parentce88d245c34cefc16e5414cc43b7dd6d1a0ab975 (diff)
downloadgst-plugins-bad-d9511ab542cf3597a81f40668f62474befd91be1.tar.gz
gst-plugins-bad-d9511ab542cf3597a81f40668f62474befd91be1.tar.bz2
gst-plugins-bad-d9511ab542cf3597a81f40668f62474befd91be1.zip
[MOVED FROM GST-P-FARSIGHT] Use g_type_class_peek_parent instead of reffing the parent class directly
20071110050950-3e2dc-6d14ddd6ae3ceeeaa4e641b7b09613e442927f92.gz
Diffstat (limited to 'ext/mimic/gstmimdec.c')
-rw-r--r--ext/mimic/gstmimdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index f5d244cd..3568f9b1 100644
--- a/ext/mimic/gstmimdec.c
+++ b/ext/mimic/gstmimdec.c
@@ -134,7 +134,7 @@ gst_mimdec_class_init (GstMimDecClass *klass)
gobject_class->finalize = gst_mimdec_finalize;
- parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
+ parent_class = g_type_class_peek_parent (klass);
GST_DEBUG_CATEGORY_INIT (mimdec_debug, "mimdec", 0, "Mimic decoder plugin");
}