Skip to content

VLCKit: player's state change is delivered before position and currentProgress are updated

To reproduce:

Change the position of the player to the end. Observe these logs:

(lldb) po vlcState
VLCMediaPlayerStateEnded

(lldb) po duration
125.952

(lldb) po currentProgress
6.0999999999999996

(lldb) po position
0.048428963869810104

This also creates problems in other cases, but this is very clear.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information