Commits

zeroth  committed ebe7aa0

Updated backends to (mostly) mirror the functionality of the finished
member in the ffmpeg backend.

  • Participants
  • Parent commits 0d198d6
  • Branches tylerthemovie

Comments (0)

Files changed (2)

File lib/_dummybackend.py

         self._backend = "DUMMY"
         self.width=0
         self.height=0
+        self.finished = 1
     def play(self, loops=0):
         self.playing= not self.playing
         

File lib/_vlcbackend.py

         self.comm = Communicator(player, remote, extra, port, hostname)
         self.width = 0
         self.height =0
+        self.finished =0
     def getSurface(self):
         #special stuff here
         return self._surface
             self.commd.logout()
             self.process.terminate()
             self.process=None
+            self.finished  = 1
             
     def __repr__(self):
         if self.process: