vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun May 17 
20:47:39 2015 +0300| [a90029df633f04c94b5b50242dcf28cde20470ff] | committer: 
Rémi Denis-Courmont

screen/win32: set sample A/R

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

 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 0092df9..d53f1a1 100644
--- a/modules/access/screen/win32.c
+++ b/modules/access/screen/win32.c
@@ -99,6 +99,7 @@ int screen_InitCapture( demux_t *p_demux )
     p_sys->fmt.video.i_visible_height =
     p_sys->fmt.video.i_height         = GetDeviceCaps( p_data->hdc_src, 
VERTRES );
     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;
 
     switch( i_chroma )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to