[vlc-commits] screen/win32: set sample A/R

Rémi Denis-Courmont git at videolan.org
Sun May 17 19:47:51 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | 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 )



More information about the vlc-commits mailing list