[vlc-commits] vout: track zoom in persistent configuration

Rémi Denis-Courmont git at videolan.org
Sat Jan 26 19:51:01 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 10:38:00 2019 +0200| [716723adda018a0cb76294462f0277d2c83d0489] | committer: Rémi Denis-Courmont

vout: track zoom in persistent configuration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=716723adda018a0cb76294462f0277d2c83d0489
---

 src/video_output/video_output.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 417947a07c..9879387a74 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -693,6 +693,9 @@ void vout_ControlChangeZoom(vout_thread_t *vout, unsigned num, unsigned den)
     }
 
     vlc_mutex_lock(&sys->window_lock);
+    sys->display_cfg.zoom.num = num;
+    sys->display_cfg.zoom.den = den;
+
     vout_ControlUpdateWindowSize(vout);
     vlc_mutex_unlock(&sys->window_lock);
 



More information about the vlc-commits mailing list