diff options
Diffstat (limited to 'gst/overlay')
-rw-r--r-- | gst/overlay/gstoverlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index 8710e935..1a826b61 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -136,7 +136,7 @@ gst_overlay_class_init (GstOverlayClass * 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_overlay_set_property; gobject_class->get_property = gst_overlay_get_property; |