Author: dmeyer
Date: Tue Nov 28 19:23:34 2006
New Revision: 2105

Modified:
   trunk/popcorn/src/generic.py

Log:
do not delete pending calls when a player isn't working

Modified: trunk/popcorn/src/generic.py
==============================================================================
--- trunk/popcorn/src/generic.py        (original)
+++ trunk/popcorn/src/generic.py        Tue Nov 28 19:23:34 2006
@@ -133,7 +133,7 @@
             self._open_mrl, self._open_caps, exclude, player,
             self._config.prefered)
 
-        
+
     def _state_change(self, old_state, state):
         """
         """
@@ -150,7 +150,10 @@
             # while we are trying to find a good player for the old
             # mrl?
             self._failed_player.append(self.get_player_id())
-            self._pending = []
+            # FIXME: why is this here? If we delete our pending functions
+            # a 'play' after open may get missed. So let's see what happens
+            # if we don't delete the pending calls here :)
+            # self._pending = []
             self._player.release()
             cls = self._get_player_class()
             if cls:

-------------------------------------------------------------------------
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

Reply via email to