mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
videomixer2: pre-register pad class properly with g_type_class_ref
Fix code to match the comment. Also, there's no need to register the background enum type again, this is already done via install_property.
This commit is contained in:
parent
9f8619e5ca
commit
4451718eff
1 changed files with 1 additions and 3 deletions
|
@ -1927,9 +1927,7 @@ gst_videomixer2_class_init (GstVideoMixer2Class * klass)
|
|||
GST_DEBUG_FUNCPTR (gst_videomixer2_change_state);
|
||||
|
||||
/* Register the pad class */
|
||||
(void) (GST_TYPE_VIDEO_MIXER2_PAD);
|
||||
/* Register the background enum */
|
||||
(void) (GST_TYPE_VIDEO_MIXER2_BACKGROUND);
|
||||
g_type_class_ref (GST_TYPE_VIDEO_MIXER2_PAD);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue