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:
Stephan Hesse 2018-05-04 11:58:00 +02:00 committed by Sebastian Dröge
parent 49c92a9752
commit 30e730bccc

View file

@ -74,6 +74,8 @@
is_local_media = [uri hasPrefix:@"file://"];
is_playing_desired = NO;
time_slider.value = 0;
time_slider.minimumValue = 0;
time_slider.maximumValue = 0;
}