projects
/
experiments
/
gstreamer.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gst-trick-mode.py: indent to be more PEP8 compliant
[experiments/gstreamer.git]
/
python
/
gst-trick-mode.py
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)