diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 99ee855246..b4adf5d709 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -4570,7 +4570,7 @@ gst_mpd_client_check_time_position (GstMpdClient * client, *diff = ts_microseconds - stream_now; return 1; } - if (client->mpd_node->timeShiftBufferDepth + if (client->mpd_node->timeShiftBufferDepth != -1 && ts_microseconds < stream_now - client->mpd_node->timeShiftBufferDepth) { *diff = ts_microseconds - stream_now;