VLCKit 3.0.2 can't seek TS files more than once (but 3.0.1 can)
steps to reproduce:
- compile vlc with VLCKit 3.0.2
- open this network stream (it needs to be a network stream, local files work ok): http://arte-magica.pt/test4.ts
- try to seek once (it works)
- try to seek a second time, it never works again
if you compile vlc with VLCKit 3.0.1, seeking works.
interestingly, the amount of remaining time seems to be better with 3.0.2!
In VLC, after the first seek, it seems that _mediaPlayer.media.length
in VLCPlaybackController turns to 0 and stays 0. With 3.0.1, the value keeps updating to some value. It does appear that this value starts ok (it contains something > 0), but after the first seek turns into 0 and stays 0.
Because _mediaDuration must be > 0 (line 870 in VLCMovieViewController), the triggering of the new seek will never be issued again.
(tested in the simulator and real iPhone X)
Edited by Luis