[Mplayer-cvslog] CVS: main/libvo vo_cvidix.c,1.9,1.10
D Richard Felker III
dalias at aerifal.cx
Thu Sep 16 23:31:12 CEST 2004
On Thu, Sep 16, 2004 at 08:08:19PM +0200, Sascha Sommer CVS wrote:
> CVS change done by Sascha Sommer CVS
>
> Update of /cvsroot/mplayer/main/libvo
> In directory mail:/var2/tmp/cvs-serv22916/libvo
>
> Modified Files:
> vo_cvidix.c
> Log Message:
> Changed the default again so that the initial video position is in
> the upper left corner like in vo fbdev[2].
> Reason: vo cvidix does not know the screen resolution unlike you specify
> it with screen[w/h], resulting in the video being displayed on a random
> position.
very annoying! can't it check if screenw/screenh are defined, and
center it in that case??
rich
>
>
> Index: vo_cvidix.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libvo/vo_cvidix.c,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -r1.9 -r1.10
> --- vo_cvidix.c 9 Jul 2004 15:29:40 -0000 1.9
> +++ vo_cvidix.c 16 Sep 2004 18:08:17 -0000 1.10
> @@ -47,7 +47,7 @@
> static uint32_t setup_vidix(){
> int x=vo_dx,y=vo_dy;
> aspect(&vo_dwidth,&vo_dheight,vo_fs ? A_ZOOM : A_NOZOOM);
> - if(!vo_geometry || vo_fs){
> + if(vo_fs){
> if(vo_dwidth <= vo_screenwidth)x = (vo_screenwidth - vo_dwidth)/2;
> else x=0;
> if(vo_dheight <= vo_screenheight)y = (vo_screenheight - vo_dheight)/2;
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list