Update of /cvsroot/freevo/kaa/xine/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6416/test

Added Files:
        test.py 
Log Message:
Initial work on kaa-xine.  Don't expect much. :)


--- NEW FILE: test.py ---
from kaa import xine, display
import kaa

def key_press(key):
    print "KEY PRESS", key
    if key == 113:
        raise SystemExit

win = display.X11Window(size=(640, 480), title="Movie")
win.show()
x = xine.Xine()
vo = x.open_video_driver("xv", window = win)
ao = x.open_audio_driver()

stream = x.stream_new(ao, vo)
stream.open(sys.argv[1])
stream.play()

kaa.signals["keypress"].connect(key_press)
kaa.main()



-------------------------------------------------------
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

Reply via email to