try accurate seeking
This commit is contained in:
parent
ca3de608fd
commit
e1b6b19c03
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class Playbin : GLib.Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void seek (int64 position) {
|
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");
|
warning ("could not seek");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue