[MPlayer-dev-eng] solved: wrong aspect ratio with xv driver

Ponekker Zoltan pontscho at makacs.poliod.hu
Wed Mar 6 10:51:48 CET 2002


Hm.

Oke, i'm say too here ... gui is broken for a long time. I'm rewrite this
code segment.

Pontscho

> http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-March/005887.html
> http://mplayerhq.hu/pipermail/mplayer-dev-eng/2002-March/005932.html
>
> Here is the patch ->
>
> --- libvo/vo_xv.c       Tue Mar  5 22:54:59 2002
> +++ libvo/vo_xv.c.new   Tue Mar  5 23:01:04 2002
> @@ -37,6 +37,7 @@
>  #include "fastmemcpy.h"
>  #include "sub.h"
>  #include "aspect.h"
> +#include "../mplayer.h"
>
>  #include "../postproc/rgb2rgb.h"
>
> @@ -495,7 +496,7 @@
>       current_buf=0;
>
>  #ifdef HAVE_NEW_GUI
> -      if ( vo_window != None )
> +      if ( vo_window != None && use_gui)
>         {
>          mFullscreen=0;
>          dwidth=mdwidth; dheight=mdheight;
>
>
>
> The above patch works during runtime for both gui and no-gui.
>
> thanks
> - Nil
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>




More information about the MPlayer-dev-eng mailing list