From e1b6b19c035ada1f041757c60ea76f963e90c09a Mon Sep 17 00:00:00 2001 From: Erica Z Date: Wed, 16 Oct 2024 21:45:50 +0200 Subject: [PATCH] try accurate seeking --- src/playbin.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playbin.vala b/src/playbin.vala index 1148b88..f789bba 100644 --- a/src/playbin.vala +++ b/src/playbin.vala @@ -211,7 +211,7 @@ class Playbin : GLib.Object { } public void seek (int64 position) { - if (!this.playbin.seek_simple (Gst.Format.TIME, Gst.SeekFlags.FLUSH, position)) { + if (!this.playbin.seek_simple (Gst.Format.TIME, Gst.SeekFlags.FLUSH | Gst.SeekFlags.ACCURATE, position)) { warning ("could not seek"); } }