[vlc-devel] [PATCH] VLCKit: Reset time, remaining time and position of VLCMediaPlayer when media is changed

Felix Paul Kühne fkuehne at videolan.org
Thu Mar 3 08:09:09 CET 2016


Hey Benjamin,

> On 02 Mar 2016, at 22:34, Benjamin Adolphi <b.adolphi at gmail.com> wrote:
> 
> When the VLCMediaPlayer switches between two media, there is a short period of time when the new media is set but when the time, remaining time and position are still set to the last time and position of the previous media. This is visible on tvOS where there is a short time when switching media where the new title is already being displayed but the old time and position is still being shown. This commit resets the time, remaining time and position of the VLCMediaPlayer when its media has changed.

Nicely spotted! Thanks, merged!

Best regards,

Felix


More information about the vlc-devel mailing list