movieplayer: add possibility to disable timeosd while searching

Origin commit data
------------------
Commit: 2fdc3a981e
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-01-13 (Sun, 13 Jan 2019)

Origin message was:
------------------
- movieplayer: add possibility to disable timeosd while searching
This commit is contained in:
vanhofen
2019-01-13 00:35:39 +01:00
parent a4728e1032
commit 8a0f711c39
8 changed files with 16 additions and 1 deletions

View File

@@ -134,6 +134,10 @@ int CMediaPlayerSetup::showMediaPlayerSetup()
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_DISPLAY_PLAYTIME);
mediaSetup->addItem(mc);
mc = new CMenuOptionChooser(LOCALE_MOVIEPLAYER_TIMEOSD_WHILE_SEARCHING, &g_settings.movieplayer_timeosd_while_searching, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
mc->setHint("", LOCALE_MENU_HINT_MOVIEPLAYER_TIMEOSD_WHILE_SEARCHING);
mediaSetup->addItem(mc);
int res = mediaSetup->exec (NULL, "");
selected = mediaSetup->getSelected();
delete mediaSetup;