mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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/6324>
This commit is contained in:
parent
05ef1bbc06
commit
0f1dfc2db0
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