fix crash when eof in background: windows cannot be opened from other than the curren...
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 9 Mar 2008 16:34:21 +0000 (16:34 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 9 Mar 2008 16:34:21 +0000 (16:34 +0000)
lib/python/Screens/InfoBar.py

index 48ff849348139fce01464c0d14d5807f7995fd68..a6f4fb1935f1717816db25f86a548e4466f9f9bc 100644 (file)
@@ -181,7 +181,9 @@ class MoviePlayer(InfoBarShowHide, \
                        self.doSeek(0)
 
        def doEofInternal(self, playing):
-               if not playing:
+               if not self.execing:
+                       return
+               if not playing :
                        return
                self.is_closing = True
                if config.usage.on_movie_eof.value == "ask":