mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Revert "mpdparser: Don't consider streams with a known media presentation duration as live"
This reverts commit 37011e5198
.
This change was actually completely unnecessary, the streams in question are
marked as static and are not considered live anyway.
This commit is contained in:
parent
37011e5198
commit
ec226e856d
1 changed files with 1 additions and 2 deletions
|
@ -4241,8 +4241,7 @@ gst_mpd_client_is_live (GstMpdClient * client)
|
||||||
g_return_val_if_fail (client != NULL, FALSE);
|
g_return_val_if_fail (client != NULL, FALSE);
|
||||||
g_return_val_if_fail (client->mpd_node != NULL, FALSE);
|
g_return_val_if_fail (client->mpd_node != NULL, FALSE);
|
||||||
|
|
||||||
return client->mpd_node->type == GST_MPD_FILE_TYPE_DYNAMIC &&
|
return client->mpd_node->type == GST_MPD_FILE_TYPE_DYNAMIC;
|
||||||
client->mpd_node->mediaPresentationDuration != -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
guint
|
guint
|
||||||
|
|
Loading…
Reference in a new issue