Author: tack
Date: Sun Feb 24 12:25:17 2008
New Revision: 3127
Log:
Sync to recent kaa.popcorn changes.
Modified:
trunk/canvas/src/movie.py
Modified: trunk/canvas/src/movie.py
==============================================================================
--- trunk/canvas/src/movie.py (original)
+++ trunk/canvas/src/movie.py Sun Feb 24 12:25:17 2008
@@ -245,7 +245,7 @@
def _set_frame_output_size(self):
- info = self._player.get_info()
+ info = self._player.streaminfo
frame_w, frame_h = info["width"], info["height"]
if 0 in (frame_w, frame_h):
return
@@ -302,7 +302,7 @@
# If we receive more than 5 frames of a certain size, ask the player
# to do the scaling for us (to width multiples of 2)
d_width, d_height = self._get_computed_size()
- info = self._player.get_info()
+ info = self._player.streaminfo
frame_w, frame_h = info["width"], info["height"]
if (d_width, d_height) != (width, height) and d_width*d_height <
frame_w*frame_h:# and \
#d_width*d_height > 320*200:
@@ -356,7 +356,7 @@
def get_info(self):
if self._player:
- self._player.get_info()
+ self._player.streaminfo
def nav_command(self, input):
if self._player:
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog