Set subtitles from video
Posted: 14 Mar 2016 11:21
Hi there,
I'm developping a vlc player with some controls and it work fine for now,
I already add the "SetAudioTrack" to choose audio track and it work fine, with this code :
But when i use the same code to add subtitles nothing appends :
Do i need to do something more ? Like adding a view, or something with VlcVout ?
I'm developping a vlc player with some controls and it work fine for now,
I already add the "SetAudioTrack" to choose audio track and it work fine, with this code :
Code: Select all
_VlcOptionAudio.SetItemChecked(e.Position, true); // the position is choose by the client from a list
_mediaPlayer.SetAudioTrack(e.Position);
_player.Release();
Code: Select all
_VlcOptionSubtiles.SetItemChecked(e.Position, true);
_mediaPlayer.SetSpuTrack(e.Position);
_player.Release();
Do i need to do something more ? Like adding a view, or something with VlcVout ?