diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-06-05 13:28:39 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-05 13:28:39 +0200 |
commit | ec226e856d9c3da9550b07408cebe51761354c0e (patch) | |
tree | f1c18d3379f9dd374840a029c92fc7b6a7d2b8e5 /ext | |
parent | 37011e519830e0786fa6e307ed26003a2a8774f1 (diff) | |
download | gstreamer-plugins-bad-ec226e856d9c3da9550b07408cebe51761354c0e.tar.gz |
Revert "mpdparser: Don't consider streams with a known media presentation duration as live"
This reverts commit 37011e519830e0786fa6e307ed26003a2a8774f1.
This change was actually completely unnecessary, the streams in question are
marked as static and are not considered live anyway.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dash/gstmpdparser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index b1911c8aa..dcd24da3f 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -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->mpd_node != NULL, FALSE); - return client->mpd_node->type == GST_MPD_FILE_TYPE_DYNAMIC && - client->mpd_node->mediaPresentationDuration != -1; + return client->mpd_node->type == GST_MPD_FILE_TYPE_DYNAMIC; } guint |