mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
playback: Remove USE_PLAYBIN3 registration override
This was only introduced as a convenience for testing playbin3 instead of playbin2. Now that playbin3 is (explicitely) default in many cases, we should not do this hack anymore Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6255>
This commit is contained in:
parent
23f654a943
commit
3f7f9145d2
2 changed files with 1 additions and 7 deletions
|
@ -39,9 +39,8 @@ static gboolean
|
|||
plugin_init (GstPlugin * plugin)
|
||||
{
|
||||
gboolean res = FALSE;
|
||||
if (!g_getenv ("USE_PLAYBIN3"))
|
||||
res |= GST_ELEMENT_REGISTER (playbin, plugin);
|
||||
|
||||
res |= GST_ELEMENT_REGISTER (playbin, plugin);
|
||||
res |= GST_ELEMENT_REGISTER (playbin3, plugin);
|
||||
res |= GST_ELEMENT_REGISTER (playsink, plugin);
|
||||
res |= GST_ELEMENT_REGISTER (subtitleoverlay, plugin);
|
||||
|
|
|
@ -2898,11 +2898,6 @@ gst_play_bin3_custom_element_init (GstPlugin * plugin)
|
|||
|
||||
playback_element_init (plugin);
|
||||
|
||||
if (g_getenv ("USE_PLAYBIN3")) {
|
||||
ret &= gst_element_register (plugin, "playbin", GST_RANK_NONE,
|
||||
GST_TYPE_PLAY_BIN);
|
||||
}
|
||||
|
||||
ret &= gst_element_register (plugin, "playbin3", GST_RANK_NONE,
|
||||
GST_TYPE_PLAY_BIN);
|
||||
|
||||
|
|
Loading…
Reference in a new issue