Commit a90029df authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

screen/win32: set sample A/R

parent c5f289da
...@@ -99,6 +99,7 @@ int screen_InitCapture( demux_t *p_demux ) ...@@ -99,6 +99,7 @@ int screen_InitCapture( demux_t *p_demux )
p_sys->fmt.video.i_visible_height = p_sys->fmt.video.i_visible_height =
p_sys->fmt.video.i_height = GetDeviceCaps( p_data->hdc_src, VERTRES ); 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_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_chroma = i_chroma;
switch( i_chroma ) switch( i_chroma )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment