playbin/playbin3: Allow setting a NULL URI
authorSebastian Dröge <sebastian@centricular.com>
Fri, 1 Apr 2022 07:25:23 +0000 (10:25 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 1 Apr 2022 07:25:23 +0000 (10:25 +0300)
commit16ed0a6961fb0e2b6d9505764a8ff568b2c9999b
treef2df5203f0a6a4201731ec4b5b811a8d081496a1
parentb358897a3bfd1ddd707feb6022abc6a937b62cc9
playbin/playbin3: Allow setting a NULL URI

The URI is already initialized to NULL at the beginning and GstPlayer
was assuming that it is possible to set to NULL at a later time too.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1124

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