[vlc-commits] screen: set SAR values on Windows to match the XCB	implementation ( refs #14507)
    Felix Paul Kühne 
    git at videolan.org
       
    Mon Jul 20 18:37:28 CEST 2015
    
    
  
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jul 20 18:35:58 2015 +0200| [d01a2aa0b1d953d9383be178ca7723ee7f5936c8] | committer: Felix Paul Kühne
screen: set SAR values on Windows to match the XCB implementation (refs #14507)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d01a2aa0b1d953d9383be178ca7723ee7f5936c8
---
 modules/access/screen/win32.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/access/screen/win32.c b/modules/access/screen/win32.c
index d53f1a1..cdf8609 100644
--- a/modules/access/screen/win32.c
+++ b/modules/access/screen/win32.c
@@ -101,6 +101,7 @@ int screen_InitCapture( demux_t *p_demux )
     p_sys->fmt.video.i_bits_per_pixel = i_bits_per_pixel;
     p_sys->fmt.video.i_sar_num = p_sys->fmt.video.i_sar_den = 1;
     p_sys->fmt.video.i_chroma         = i_chroma;
+    p_sys->fmt.video.i_sar_num = fmt.video.i_sar_den = 1;
 
     switch( i_chroma )
     {
    
    
More information about the vlc-commits
mailing list