Update of /cvsroot/freevo/kaa/xine/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25407/test
Modified Files:
test.py
Log Message:
Added Post type; added skeleton for buffer post plugin (vf_outbuf only
for xine). Keep a mapping of xine objects to python objects. Added a
few more API functions elsewhere.
Index: test.py
===================================================================
RCS file: /cvsroot/freevo/kaa/xine/test/test.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test.py 16 Jul 2005 03:53:37 -0000 1.2
--- test.py 18 Jul 2005 03:40:22 -0000 1.3
***************
*** 1,5 ****
import sys
from kaa import xine, display
! import kaa
def key_press(key):
--- 1,5 ----
import sys
from kaa import xine, display
! import kaa, gc
def key_press(key):
***************
*** 8,20 ****
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)
--- 8,28 ----
raise SystemExit
! #win = display.X11Window(size=(640, 480), title="Movie")
! #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_none])
! a = post.get_video_inputs()
! #stream = x.stream_new(ao, a[0])
! #stream.open(sys.argv[1])
! #stream.play()
! print x.list_post_plugins()
! print post.get_parameters_desc()
! print post.get_parameters()
! print post.set_parameter("ptr", 42)
! print post.get_parameters()
kaa.signals["keypress"].connect(key_press)
-------------------------------------------------------
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