summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1sys/gstmpeg1systemencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/mpeg1sys/gstmpeg1systemencode.c')
-rw-r--r--gst/mpeg1sys/gstmpeg1systemencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c
index d8a20d27..da3c7485 100644
--- a/gst/mpeg1sys/gstmpeg1systemencode.c
+++ b/gst/mpeg1sys/gstmpeg1systemencode.c
@@ -137,7 +137,7 @@ gst_system_encode_class_init (GstMPEG1SystemEncodeClass * 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);
gobject_class->set_property = gst_system_encode_set_property;
gobject_class->get_property = gst_system_encode_get_property;