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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user