mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
playback: class_ref() some types so we can create multiple playback elements at the same time
Should fix "cannot register existing type `GstPlaybinSelectorPad'" warnings and subsequent errors when creating multiple players at the same time. Conflicts: gst/playback/gststreamselector.c
This commit is contained in:
parent
9d59b789c7
commit
81097f485a
2 changed files with 5 additions and 0 deletions
|
@ -929,6 +929,8 @@ gst_decode_bin_class_init (GstDecodeBinClass * klass)
|
|||
|
||||
gstbin_klass->handle_message =
|
||||
GST_DEBUG_FUNCPTR (gst_decode_bin_handle_message);
|
||||
|
||||
g_type_class_ref (GST_TYPE_DECODE_PAD);
|
||||
}
|
||||
|
||||
gint
|
||||
|
|
|
@ -627,6 +627,9 @@ gst_play_sink_class_init (GstPlaySinkClass * klass)
|
|||
|
||||
_playsink_reset_segment_event_marker_id =
|
||||
g_quark_from_static_string ("gst-playsink-reset-segment-event-marker");
|
||||
|
||||
g_type_class_ref (GST_TYPE_STREAM_SYNCHRONIZER);
|
||||
g_type_class_ref (GST_TYPE_COLOR_BALANCE_CHANNEL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue