mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
ios playback: initialize slider value (position) at 0 at first
Until now the slider was displaying center position before playback was started.
This commit is contained in:
parent
49c92a9752
commit
30e730bccc
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@
|
||||||
|
|
||||||
is_local_media = [uri hasPrefix:@"file://"];
|
is_local_media = [uri hasPrefix:@"file://"];
|
||||||
is_playing_desired = NO;
|
is_playing_desired = NO;
|
||||||
|
|
||||||
|
time_slider.value = 0;
|
||||||
time_slider.minimumValue = 0;
|
time_slider.minimumValue = 0;
|
||||||
time_slider.maximumValue = 0;
|
time_slider.maximumValue = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue