Author: dmeyer
Date: Sat Jan 6 09:11:00 2007
New Revision: 2365
Modified:
trunk/popcorn/src/backends/base.py
trunk/popcorn/src/generic.py
Log:
rename variable
Modified: trunk/popcorn/src/backends/base.py
==============================================================================
--- trunk/popcorn/src/backends/base.py (original)
+++ trunk/popcorn/src/backends/base.py Sat Jan 6 09:11:00 2007
@@ -94,7 +94,7 @@
self._frame_shmem = None
self._property_callbacks = {}
- self._property_playing = []
+ self._property_delayed = []
for name, func in [ (func, getattr(self, func)) for func in dir(self)
]:
if callable(func) and hasattr(func, '_runtime_policy'):
name = name[10:].replace('_', '-')
@@ -121,11 +121,11 @@
return
old_state = self._state_object
self._state_object = state
- if state == STATE_PLAYING and self._property_playing:
+ if state == STATE_PLAYING and self._property_delayed:
# now set changed properties
- for key, value in self._property_playing:
+ for key, value in self._property_delayed:
self.set_property(key, value)
- self._property_playing = []
+ self._property_delayed = []
self._state_changed.emit(old_state, state)
_state = property(get_state, _set_state, None, 'state of the player')
@@ -355,7 +355,7 @@
# We are not in playback mode.
if func._runtime_policy == DEFER_UNTIL_PLAYING:
# delay property call until playing
- self._property_playing.append((prop, value))
+ self._property_delayed.append((prop, value))
return
if func._runtime_policy == IGNORE_UNLESS_PLAYING:
# just set and return
Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py (original)
+++ trunk/popcorn/src/generic.py Sat Jan 6 09:11:00 2007
@@ -265,9 +265,9 @@
properties = self._properties
if copy_properties and self._player:
properties = self._player._properties
- for key, value in self._player._property_playing:
+ for key, value in self._player._property_delayed:
properties[key] = value
- self._player._property_playing = []
+ self._player._property_delayed = []
properties = properties.copy()
self._player = cls(properties)
-------------------------------------------------------------------------
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