Update of /cvsroot/freevo/kaa/xine/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32510/test
Modified Files:
test.py
Log Message:
Add logging functions. Add XINE_ constants and a script gen_constants.py
to automatically generate that from xine.h
Index: test.py
===================================================================
RCS file: /cvsroot/freevo/kaa/xine/test/test.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** test.py 19 Jul 2005 02:07:25 -0000 1.4
--- test.py 19 Jul 2005 04:17:08 -0000 1.5
***************
*** 3,6 ****
--- 3,9 ----
import kaa, gc
+ print xine.get_version()
+ sys.exit(0)
+
def key_press(key):
print "KEY PRESS", key
***************
*** 12,19 ****
win.show()
x = xine.Xine()
vo_none = x.open_video_driver("none")
! vo = x.open_video_driver("xv", window = win)
ao = x.open_audio_driver()
!
post = x.post_init("buffer", video_targets = [vo])
print post.list_inputs()
--- 15,24 ----
win.show()
x = xine.Xine()
+ print x.get_log_names()
vo_none = x.open_video_driver("none")
! vo = x.open_video_driver(window = win)
ao = x.open_audio_driver()
! print "0", x.get_log("messages")
! sys.exit(1)
post = x.post_init("buffer", video_targets = [vo])
print post.list_inputs()
***************
*** 44,45 ****
--- 49,51 ----
print "START MAIN"
kaa.main()
+ win.hide()
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog