Author: dmeyer
Date: Sun Apr 29 20:01:01 2007
New Revision: 9528
Modified:
trunk/ui/src/video/player.py
Log:
adjust to kaa.popcorn changes
Modified: trunk/ui/src/video/player.py
==============================================================================
--- trunk/ui/src/video/player.py (original)
+++ trunk/ui/src/video/player.py Sun Apr 29 20:01:01 2007
@@ -207,11 +207,12 @@
return True
if event == VIDEO_CHANGE_ASPECT:
- modes = [ 'bars', 'scale', 'zoom' ]
- current = self.player.get_property('fit-method')
+ modes = kaa.popcorn.SCALE_METHODS
+ current = self.player.get_property('scale')
if current in modes:
idx = (modes.index(current) + 1) % len(modes)
- self.player.set_property('fit-method', modes[idx])
+ log.info('change scale to %s', modes[idx])
+ self.player.set_property('scale', modes[idx])
return True
if str(event).startswith('DVDNAV_'):
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog