gst-trick-mode.py: indent to be more PEP8 compliant
authorAntonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 11:44:38 +0000 (13:44 +0200)
committerAntonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 11:44:38 +0000 (13:44 +0200)
python/gst-trick-mode.py

index 833892b..43cd8f4 100755 (executable)
@@ -66,16 +66,16 @@ class Player:
         # Create the seek event
         if rate > 0:
             seek_event = Gst.Event.new_seek(rate,
-                    Gst.Format.TIME,
-                    Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE,
-                    Gst.SeekType.SET, position,
-                    Gst.SeekType.NONE, 0)
+                                            Gst.Format.TIME,
+                                            Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE,
+                                            Gst.SeekType.SET, position,
+                                            Gst.SeekType.NONE, 0)
         else:
             seek_event = Gst.Event.new_seek(rate,
-                    Gst.Format.TIME,
-                    Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE,
-                    Gst.SeekType.SET, 0,
-                    Gst.SeekType.SET, position)
+                                            Gst.Format.TIME,
+                                            Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE,
+                                            Gst.SeekType.SET, 0,
+                                            Gst.SeekType.SET, position)
 
         if seek_event:
             self._player.send_event(seek_event)