Fixed preserving markers after video quality switch in media view.

This commit is contained in:
23rd
2026-04-04 17:56:42 +03:00
committed by John Preston
parent 18ea990e7a
commit ae4e5ad54a
@@ -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();
}
}