Author: dmeyer
Date: Wed Jan 3 19:41:58 2007
New Revision: 2340
Modified:
trunk/popcorn/src/backends/xine/child.py
Log:
add FIXME for speedup
Modified: trunk/popcorn/src/backends/xine/child.py
==============================================================================
--- trunk/popcorn/src/backends/xine/child.py (original)
+++ trunk/popcorn/src/backends/xine/child.py Wed Jan 3 19:41:58 2007
@@ -142,6 +142,11 @@
"""
Return the frame output position and dimensions
"""
+ # FIXME: this is called for every frame. So for every frame we jump
+ # from C to Python, call _get_vo_display_size in C again and
+ # continue in Python. I guess it would be a major speed improvement
+ # if this function is directly in C and we only provide the
+ # basic information (size, maybe aspect) when it changes.
w, h, a = self._xine._get_vo_display_size(width, height, aspect)
if abs(self._window_aspect - a) > 0.01:
log.debug('VO: %dx%d -> %dx%d', width, height, w, h)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog