summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossdmabuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/oss/gstossdmabuffer.c')
-rw-r--r--sys/oss/gstossdmabuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/oss/gstossdmabuffer.c b/sys/oss/gstossdmabuffer.c
index 5078d3c4..f37cf368 100644
--- a/sys/oss/gstossdmabuffer.c
+++ b/sys/oss/gstossdmabuffer.c
@@ -101,7 +101,7 @@ gst_ossdmabuffer_class_init (GstOssDMABufferClass * klass)
gstobject_class = (GstObjectClass *) klass;
gstringbuffer_class = (GstRingBufferClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_RINGBUFFER);
+ parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_dispose);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_finalize);