mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Show loaded till in playback slider.
This commit is contained in:
@@ -251,7 +251,8 @@ void File::Context::start(crl::time position) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_delegate->fileReady(std::move(video), std::move(audio))) {
|
||||
const auto header = _reader->headerSize();
|
||||
if (!_delegate->fileReady(header, std::move(video), std::move(audio))) {
|
||||
return fail(Error::OpenFailed);
|
||||
}
|
||||
_format = std::move(format);
|
||||
|
Reference in New Issue
Block a user