X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/blobdiff_plain/06fbbcb846a06000f216b99d40243f4f973edd4c..6951c082f65a3f3d02be9536bdb058e8747f5767:/python/gst-trick-mode.py?ds=inline diff --git a/python/gst-trick-mode.py b/python/gst-trick-mode.py index 833892b..43cd8f4 100755 --- 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, - 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)