From 9242c9e1e4cc4c4e9f8ec6e1907a35bc2171ba65 Mon Sep 17 00:00:00 2001 From: max_10 Date: Mon, 1 Oct 2018 21:59:46 +0200 Subject: [PATCH] fix segfault subtitles selection - but not yet ready Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/abd93ba030056006abe6577fd9c2ad1ede56c835 Author: max_10 Date: 2018-10-01 (Mon, 01 Oct 2018) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/playback_libeplayer3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libarmbox/playback_libeplayer3.cpp b/libarmbox/playback_libeplayer3.cpp index 0a2f1ed..78c21a5 100644 --- a/libarmbox/playback_libeplayer3.cpp +++ b/libarmbox/playback_libeplayer3.cpp @@ -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)