Improve some comments
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Feb 2013 16:06:12 +0000 (17:06 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 28 Feb 2013 16:06:12 +0000 (17:06 +0100)
gst-trick-mode-looping-2.py

index 03843c4..156ef08 100755 (executable)
@@ -33,11 +33,13 @@ class Player:
         sys.stderr.write(".")
         player.set_property("uri", self._filename)
 
         sys.stderr.write(".")
         player.set_property("uri", self._filename)
 
-        # XXX do I need to re-set the rate here?
+        # XXX Ater the first iteration of the loop the playback rate is reset to
+        # normal. Do I need to re-set the rate here?
+
         # If I uncomment the following line, the player hangs:
         #self.set_rate(self._date)
 
         # If I uncomment the following line, the player hangs:
         #self.set_rate(self._date)
 
-        # And it even hangs if I set the seek_event manually using position=0:
+        # And it hangs also if I set the seek_event manually using position=0:
         #seek_event = gst.event_new_seek(self._rate,
         #        gst.FORMAT_TIME,
         #        gst.SEEK_FLAG_FLUSH | gst.SEEK_FLAG_ACCURATE,
         #seek_event = gst.event_new_seek(self._rate,
         #        gst.FORMAT_TIME,
         #        gst.SEEK_FLAG_FLUSH | gst.SEEK_FLAG_ACCURATE,