mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
playbin3: Remove un-needed URI NULL check
This will mimic the playbin2 behaviour, which sets the "next" entry to be NULL. The biggest impact this has is that when going back to READY the current play entry will be discarded (instead of being kept around for when you go back to PAUSED/PLAYING). Fixes #3371 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6338>
This commit is contained in:
parent
c6a5ea3825
commit
48e0c6218d
1 changed files with 0 additions and 5 deletions
|
@ -1200,11 +1200,6 @@ invalid:
|
|||
static void
|
||||
gst_play_bin3_set_uri (GstPlayBin3 * playbin, const gchar * uri)
|
||||
{
|
||||
if (uri == NULL) {
|
||||
g_warning ("cannot set NULL uri");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!gst_playbin_uri_is_valid (playbin, uri)) {
|
||||
if (g_str_has_prefix (uri, "file:")) {
|
||||
GST_WARNING_OBJECT (playbin, "not entirely correct file URI '%s' - make "
|
||||
|
|
Loading…
Reference in a new issue