playbin3: Always register 'playbin3' element.
authorJan Schmidt <jan@centricular.com>
Sat, 9 Oct 2021 14:24:44 +0000 (01:24 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 10 Oct 2021 07:28:17 +0000 (07:28 +0000)
commite06ac494b8d0f03437dcfdd6cdfba0c68e229c95
tree52b6d07a0570018ccc58d36a7747560e59b426bb
parent0d96e43c919c288643a7ed337f0d6bf358526721
playbin3: Always register 'playbin3' element.

If the USE_PLAYBIN3=1 env var is set, we want to replace
playbin with playbin3, but separate to that, we always
want to register the 'playbin3' element so that applications
which explicitly use playbin3 work regardless of the env var.

This fixes `USE_PLAYBIN3=1 gst-validate-launcher`, for example.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1102>
subprojects/gst-plugins-base/gst/playback/gstplaybin3.c