[Mplayer-cvslog] CVS: main/DOCS/tech libvo.txt,1.3,1.4

Attila Kinali CVS attila at mplayerhq.hu
Sun Sep 21 12:47:33 CEST 2003


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

Modified Files:
	libvo.txt 
Log Message:
add some docu about when and how to call geometry


Index: libvo.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/libvo.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- libvo.txt	30 Jul 2002 17:41:11 -0000	1.3
+++ libvo.txt	21 Sep 2003 10:47:19 -0000	1.4
@@ -80,6 +80,16 @@
       So, you can check for vo_config_count>0 in uninit() when freeing
       resources allocated in config() to avoid crash!
 
+      You should call geometry() in config() to enable user defined
+      window size and position. The code should look as following:
+      ---
+      set x,y,w,h to the values supplied by the caller or to those you deam
+      usefull.
+      call geometry(&x, &y, &w, &h, screenw, screenh)
+      call aspect()
+      ---
+      see libvo/geometry.c for further information
+
     draw_slice(): this displays YV12 pictures (3 planes, one full sized that
 	 contains brightness (Y), and 2 quarter-sized which the colour-info
 	 (U,V). MPEG codecs (libmpeg2, opendivx) use this. This doesn't have



More information about the MPlayer-cvslog mailing list