[vlc-commits] display: preserve actual height on A/R or crop change
Rémi Denis-Courmont
git at videolan.org
Sun Aug 6 20:10:33 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 5 22:16:49 2017 +0300| [04dc197d7ac78e85efbb26b9eccc1ce13ba73003] | committer: Rémi Denis-Courmont
display: preserve actual height on A/R or crop change
...rather than the last saved height. In practice, this does not make
much if any difference though, as:
- the saved height should equal the actual height in windowed mode,
- the code path has no effects in fullscreen mode.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04dc197d7ac78e85efbb26b9eccc1ce13ba73003
---
src/video_output/display.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 0e899065dd..a629423337 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -749,7 +749,6 @@ static void VoutDisplayFitWindow(vout_display_t *vd, bool default_size)
if (default_size) {
cfg.display.height = 0;
} else {
- cfg.display.height = osys->height_saved;
cfg.zoom.num = 1;
cfg.zoom.den = 1;
}
More information about the vlc-commits
mailing list