diff options
Diffstat (limited to 'gst/switch/gstswitch.c')
-rw-r--r-- | gst/switch/gstswitch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/switch/gstswitch.c b/gst/switch/gstswitch.c index 5c7cab55..b04fbda2 100644 --- a/gst/switch/gstswitch.c +++ b/gst/switch/gstswitch.c @@ -429,7 +429,7 @@ gst_switch_class_init (GstSwitchClass * 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 (gobject_class, ARG_NB_SOURCES, |