From 7b9af525c22e058abde59be77d73347e6aedced8 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 25 Apr 2022 18:04:01 +0200 Subject: [PATCH] mediaplayer-setup: add missing ENABLE_YOUTUBE_PLAYER Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/382399a76affbcfcf53a9fdf6a95a01e8a07e3ec Author: vanhofen Date: 2022-04-25 (Mon, 25 Apr 2022) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/mediaplayer_setup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/mediaplayer_setup.cpp b/src/gui/mediaplayer_setup.cpp index 8721c04ca..c3dd2723c 100644 --- a/src/gui/mediaplayer_setup.cpp +++ b/src/gui/mediaplayer_setup.cpp @@ -122,9 +122,11 @@ int CMediaPlayerSetup::showMediaPlayerSetup() mf->setHint(NEUTRINO_ICON_HINT_MB, LOCALE_MENU_HINT_MOVIEBROWSER_SETUP); mediaSetup->addItem(mf); +#if ENABLE_YOUTUBE_PLAYER mf = new CMenuForwarder(LOCALE_MOVIEPLAYER_YTPLAYBACK, true, NULL, &msetup, "show_ytmenu", CRCInput::convertDigitToKey(shortcut++)); mf->setHint(NEUTRINO_ICON_HINT_YTPLAY, LOCALE_MENU_HINT_YTPLAY_SETUP); mediaSetup->addItem(mf); +#endif mediaSetup->addItem(GenericMenuSeparator);