Commit dc5c20a6 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

VLCMediaPlayer: fix deprecation warning

parent 8d7d79f9
......@@ -671,7 +671,7 @@ static void HandleMediaPlayerSnapshot(const libvlc_event_t * event, void * self)
{
// Time is managed in seconds, while duration is managed in microseconds
// TODO: Redo VLCTime to provide value numberAsMilliseconds, numberAsMicroseconds, numberAsSeconds, numberAsMinutes, numberAsHours
libvlc_media_player_set_time(_playerInstance, value ? [[value numberValue] longLongValue] : 0);
libvlc_media_player_set_time(_playerInstance, value ? [[value value] longLongValue] : 0);
}
- (VLCTime *)time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment