Commit 4cd3e4d2 authored by Martin Finkel's avatar Martin Finkel
Browse files

script: update mediaplayer API to libvlc 4

parent 690be6d6
......@@ -27,13 +27,13 @@ void Awake()
public void SeekForward()
{
Debug.Log("[VLC] Seeking forward !");
_mediaPlayer.Time += seekTimeDelta;
_mediaPlayer.SetTime(_mediaPlayer.Time + seekTimeDelta);
}
public void SeekBackward()
{
Debug.Log("[VLC] Seeking backward !");
_mediaPlayer.Time -= seekTimeDelta;
_mediaPlayer.SetTime(_mediaPlayer.Time - seekTimeDelta);
}
void OnDisable()
......
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