switch to playbin, improve public api, performance
This commit is contained in:
parent
36d2b90f1d
commit
c44141c717
5 changed files with 193 additions and 128 deletions
|
@ -64,7 +64,7 @@ impl App {
|
|||
Message::SeekRelease => {
|
||||
self.dragging = false;
|
||||
self.video
|
||||
.seek(Duration::from_secs_f64(self.position))
|
||||
.seek(Duration::from_secs_f64(self.position), false)
|
||||
.expect("seek");
|
||||
self.video.set_paused(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue