projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06fbbcb
)
gst-trick-mode.py: indent to be more PEP8 compliant
author
Antonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 11:44:38 +0000
(13:44 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 11:44:38 +0000
(13:44 +0200)
python/gst-trick-mode.py
patch
|
blob
|
history
diff --git
a/python/gst-trick-mode.py
b/python/gst-trick-mode.py
index
833892b
..
43cd8f4
100755
(executable)
--- a/
python/gst-trick-mode.py
+++ b/
python/gst-trick-mode.py
@@
-66,16
+66,16
@@
class Player:
# Create the seek event
if rate > 0:
seek_event = Gst.Event.new_seek(rate,
# 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,
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)
if seek_event:
self._player.send_event(seek_event)