[vlc-devel] [vlc-commits] screen: set SAR values on Windows to match the XCB implementation ( refs #14507)

Rémi Denis-Courmont remi at remlab.net
Mon Jul 20 18:39:25 CEST 2015


Le 2015-07-20 19:37, git at videolan.org a écrit :
> 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;

WTF?

>
>      switch( i_chroma )
>      {
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list