[Mplayer-cvslog] CVS: main cfg-common.h,1.57,1.58

Arpi of Ize arpi at mplayerhq.hu
Fri Sep 20 20:57:16 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv7586

Modified Files:
	cfg-common.h 
Log Message:
This patch allows you to use fractional values for specifying a zoom.
(based on) patch by Panagiotis Issaris <takis at lumumba.luc.ac.be>


Index: cfg-common.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-common.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- cfg-common.h	20 Sep 2002 18:54:22 -0000	1.57
+++ cfg-common.h	20 Sep 2002 18:57:13 -0000	1.58
@@ -131,7 +131,7 @@
         {"nozoom", &softzoom, CONF_TYPE_FLAG, 0, 1, 0, NULL},
 	{"aspect", &movie_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 3.0, NULL},
 	{"noaspect", &movie_aspect, CONF_TYPE_FLAG, 0, 0, 0, NULL},
-	{"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
+	{"xy", &screen_size_xy, CONF_TYPE_FLOAT, CONF_RANGE, 0.001, 4096, NULL},
 
         {"flip", &flip, CONF_TYPE_FLAG, 0, -1, 1, NULL},
         {"noflip", &flip, CONF_TYPE_FLAG, 0, -1, 0, NULL},
@@ -180,7 +180,7 @@
 #include "config.h"
 
 // codec/filter opts: (defiend at libmpcodecs/vd.c)
-extern int screen_size_xy;
+extern float screen_size_xy;
 extern float movie_aspect;
 extern int softzoom;
 extern int flip;




More information about the MPlayer-cvslog mailing list