2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use unreliable video duration if open with audio.

This commit is contained in:
John Preston
2022-02-01 15:49:53 +03:00
parent 18bf48bf90
commit 4bef1e9f59
5 changed files with 19 additions and 8 deletions

View File

@@ -234,6 +234,10 @@ void Player::videoPlayedTill(crl::time position) {
trackPlayedTill(*_video, _information.video.state, position);
}
Mode Player::fileOpenMode() {
return _options.mode;
}
bool Player::fileReady(int headerSize, Stream &&video, Stream &&audio) {
_waitingForData = false;