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

Rémi Denis-Courmont git at videolan.org
Wed Oct 21 17:21:42 CEST 2015


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 17 20:47:39 2015 +0300| [10dac28ad71510549bae0c131a1206ea0a0d2950] | committer: Jean-Baptiste Kempf

screen/win32: set sample A/R

(cherry picked from commit a90029df633f04c94b5b50242dcf28cde20470ff)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 4a6077c..1139c39 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;
     p_sys->fmt.video.i_sar_num = p_sys->fmt.video.i_sar_den = 1;
 



More information about the vlc-commits mailing list