diff options
Diffstat (limited to 'gst/playondemand')
-rw-r--r-- | gst/playondemand/gstplayondemand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c index 66ec8ca3..700a0152 100644 --- a/gst/playondemand/gstplayondemand.c +++ b/gst/playondemand/gstplayondemand.c @@ -193,7 +193,7 @@ play_on_demand_class_init (GstPlayOnDemandClass * klass) klass->clear = play_on_demand_clear_handler; klass->reset = play_on_demand_reset_handler; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); gobject_class->set_property = play_on_demand_set_property; gobject_class->get_property = play_on_demand_get_property; |