[vlc-commits] vout: fix viewpoint init state
    Thomas Guillem 
    git at videolan.org
       
    Tue Jul 25 16:42:37 CEST 2017
    
    
  
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 24 16:38:29 2017 +0200| [2a16691a4478c4134c2fe821d0728ec141b8315f] | committer: Thomas Guillem
vout: fix viewpoint init state
This value is only used to compare new viewpoints with the current one.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a16691a4478c4134c2fe821d0728ec141b8315f
---
 src/video_output/display.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index aaa24b053d..07a1f6e3ea 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -1244,6 +1244,7 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
     osys->is_display_filled = cfg->is_display_filled;
     osys->width_saved    = cfg->display.width;
     osys->height_saved   = cfg->display.height;
+    osys->viewpoint      = cfg->viewpoint;
     if (osys->is_fullscreen) {
         vout_display_cfg_t cfg_windowed = *cfg;
         cfg_windowed.is_fullscreen  = false;
    
    
More information about the vlc-commits
mailing list