mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed preserving markers after video quality switch in media view.
This commit is contained in:
@@ -5241,11 +5241,14 @@ void OverlayWidget::applyVideoQuality(VideoQuality value) {
|
||||
const auto startStreaming = StartStreaming(false, time);
|
||||
if (!canInitStreaming() || !initStreaming(startStreaming)) {
|
||||
redisplayContent();
|
||||
} else if (_fullScreenVideo != wasFullScreen) {
|
||||
_fullScreenVideo = wasFullScreen;
|
||||
if (_streamed->controls) {
|
||||
_streamed->controls->setInFullScreen(_fullScreenVideo);
|
||||
} else {
|
||||
if (_fullScreenVideo != wasFullScreen) {
|
||||
_fullScreenVideo = wasFullScreen;
|
||||
if (_streamed->controls) {
|
||||
_streamed->controls->setInFullScreen(_fullScreenVideo);
|
||||
}
|
||||
}
|
||||
refreshCaption();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user