mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
webtv channels integration port,
initial code (C) martii,
initial patch from jacek
Origin commit data
------------------
Branch: ni/coolstream
Commit: a473fe8194
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-08-27 (Wed, 27 Aug 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -47,6 +47,7 @@ extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
|
||||
extern CAudioSetupNotifier * audioSetupNotifier;
|
||||
|
||||
#include <gui/audio_select.h>
|
||||
#include <gui/movieplayer.h>
|
||||
#include <libdvbsub/dvbsub.h>
|
||||
#include <libtuxtxt/teletext.h>
|
||||
|
||||
@@ -93,6 +94,11 @@ int CAudioSelectMenuHandler::exec(CMenuTarget* parent, const std::string &action
|
||||
|
||||
int CAudioSelectMenuHandler::doMenu ()
|
||||
{
|
||||
int mode = CNeutrinoApp::getInstance()->getMode();
|
||||
if (mode == NeutrinoMessages::mode_webtv) {
|
||||
CMoviePlayerGui::getInstance().selectAudioPid();
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
CMenuWidget AudioSelector(LOCALE_AUDIOSELECTMENUE_HEAD, NEUTRINO_ICON_AUDIO, width);
|
||||
|
||||
CSubtitleChangeExec SubtitleChanger;
|
||||
|
Reference in New Issue
Block a user