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>
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);
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);