mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
[MOVED FROM GST-P-FARSIGHT] Use g_type_class_peek_parent instead of reffing the parent class directly
20071110050950-3e2dc-6d14ddd6ae3ceeeaa4e641b7b09613e442927f92.gz
This commit is contained in:
parent
ce88d245c3
commit
d9511ab542
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ gst_mimdec_class_init (GstMimDecClass *klass)
|
|||
|
||||
gobject_class->finalize = gst_mimdec_finalize;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (mimdec_debug, "mimdec", 0, "Mimic decoder plugin");
|
||||
}
|
||||
|
|
|
@ -147,7 +147,7 @@ gst_mimenc_class_init (GstMimEncClass *klass)
|
|||
gstelement_class = (GstElementClass*) klass;
|
||||
gstelement_class->change_state = gst_mimenc_change_state;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (mimenc_debug, "mimenc", 0, "Mimic encoder plugin");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue