LibMedia: Actually adjust incremental stream's request positions
This was unintentionally clobbering the prior modification to the request position. Requesting data slightly earlier in the file is intended to ensure that we have data if the demuxer decides to seek backwards.
This commit is contained in:
parent
7d3dd2d641
commit
8576527d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ bool IncrementallyPopulatedStream::check_if_data_is_available_or_begin_request_w
|
|||
cursor.m_active_timeout = now + CURSOR_ACTIVE_TIME;
|
||||
|
||||
auto potential_request_position = adjust_request_position(position);
|
||||
potential_request_position = max(chunk->end(), position);
|
||||
potential_request_position = max(chunk->end(), potential_request_position);
|
||||
for (size_t i = 0; i < m_cursors.size(); i++) {
|
||||
auto const& other_cursor = m_cursors[i];
|
||||
if (!other_cursor.m_is_blocking)
|
||||
|
|
|
|||
Loading…
Reference in a new issue