[Mplayer-cvslog] CVS: main mplayer.c,1.643,1.644

JALH CVS (Mark Zealey) mark at mplayerhq.hu
Fri Jan 3 21:46:46 CET 2003


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

Modified Files:
	mplayer.c 
Log Message:
Added support for X style -geometry options (adapted from Henk's patch)
-- Mark


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.643
retrieving revision 1.644
diff -u -r1.643 -r1.644
--- mplayer.c	3 Jan 2003 12:26:15 -0000	1.643
+++ mplayer.c	3 Jan 2003 20:46:28 -0000	1.644
@@ -110,6 +110,8 @@
 //             Config
 //**************************************************************************//
 
+#include "libvo/geometry.h"
+
 m_config_t* mconfig;
 
 #ifdef NEW_CONFIG
@@ -697,6 +699,9 @@
 #else
     if(m_config_parse_command_line(mconfig, argc, argv) < 0) exit(1); // error parsing cmdline
 #endif
+
+    geometryFull(&opt_screen_size_x, &opt_screen_size_y, NULL, NULL,
+	vo_screenwidth, vo_screenheight, vo_screenwidth, vo_screenheight);
 
     playtree = play_tree_cleanup(playtree);
     if(playtree) {



More information about the MPlayer-cvslog mailing list