]> git.sesse.net Git - vlc/blobdiff - modules/access/screen/screen.c
Used a sar for picture_New/Setup.
[vlc] / modules / access / screen / screen.c
index 8076c3be581ded552da604d9702f9a5d716cd5a7..7ad87dee6e588f6e29ae8de489f842e88e2c4f35 100644 (file)
@@ -340,7 +340,8 @@ void RenderCursor( demux_t *p_demux, int i_x, int i_y,
                        p_sys->fmt.video.i_chroma,
                        p_sys->fmt.video.i_width,
                        p_sys->fmt.video.i_height,
-                       p_sys->fmt.video.i_aspect );
+                       p_sys->fmt.video.i_aspect * p_sys->fmt.video.i_height,
+                       VOUT_ASPECT_FACTOR        * p_sys->fmt.video.i_width );
     if( !p_sys->p_blend )
     {
         p_sys->p_blend = vlc_object_create( p_demux, sizeof(filter_t) );