diff options
Diffstat (limited to 'ext/sndfile')
-rw-r--r-- | ext/sndfile/gstsf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c index de7a28c4..f44e58fa 100644 --- a/ext/sndfile/gstsf.c +++ b/ext/sndfile/gstsf.c @@ -274,9 +274,7 @@ gst_sf_class_init (GstSFClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - /* although this isn't really the parent class, that's ok; GstSF doesn't - override any methods */ - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); gst_element_class_install_std_props (gstelement_class, "location", ARG_LOCATION, G_PARAM_READWRITE, NULL); |