mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
playback/player: ios: Cast the seek slider value from float to integer after scaling
https://github.com/sdroege/gst-player/issues/33
This commit is contained in:
parent
75404ed8e3
commit
ddd7213959
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@
|
|||
if (!dragging_slider) return;
|
||||
// If this is a local file, allow scrub seeking, this is, seek as soon as the slider is moved.
|
||||
if (is_local_media)
|
||||
gst_player_seek (player, ((long)time_slider.value) * 1000000);
|
||||
gst_player_seek (player, time_slider.value * 1000000);
|
||||
[self updateTimeWidget];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue