movieplayer: add possibility to disable timeosd while searching

Origin commit data
------------------
Branch: ni/coolstream
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

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-01-13 00:35:39 +01:00
parent 24d226a5ca
commit 86b3e3f12e
8 changed files with 16 additions and 1 deletions

View File

@@ -1586,7 +1586,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
if (playback->GetPosition(position, duration)) {
FileTimeOSD->update(position, duration);
if (FileTimeOSD_tmp > -1 && !FileTimeOSD->IsVisible())
if (FileTimeOSD_tmp > -1 && !FileTimeOSD->IsVisible() && g_settings.movieplayer_timeosd_while_searching)
{
FileTimeOSD->setMode(CTimeOSD::MODE_TMP);
FileTimeOSD->show(position);