fix segfault subtitles selection - but not yet ready

Origin commit data
------------------
Branch: master
Commit: abd93ba030
Author: max_10 <max_10@gmx.de>
Date: 2018-10-01 (Mon, 01 Oct 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-10-01 21:59:46 +02:00
parent 53a2e1cb80
commit 9242c9e1e4

View File

@@ -69,6 +69,7 @@ bool cPlayback::Open(playmode_t PlayMode)
{
player->output->Command(player, OUTPUT_ADD, (void *)"audio");
player->output->Command(player, OUTPUT_ADD, (void *)"video");
player->output->Command(player, OUTPUT_ADD, (void *)"subtitle");
}
return 0;
@@ -249,6 +250,7 @@ bool cPlayback::Stop(void)
{
player->output->Command(player, OUTPUT_DEL, (void *)"audio");
player->output->Command(player, OUTPUT_DEL, (void *)"video");
player->output->Command(player, OUTPUT_DEL, (void *)"subtitle");
}
if (player && player->playback)