small fix movieplayer

Origin commit data
------------------
Branch: ni/coolstream
Commit: 29e4ce385f
Author: TangoCash <eric@loxat.de>
Date: 2020-09-20 (Sun, 20 Sep 2020)


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

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2020-09-20 21:10:53 +02:00
committed by vanhofen
parent 56651b5418
commit f1f3b0805f

View File

@@ -2364,6 +2364,9 @@ void CMoviePlayerGui::callInfoViewer(bool init_vzap_it)
return;
}
if(duration <= 0)
UpdatePosition();
std::vector<std::string> keys, values;
playback->GetMetadata(keys, values);
size_t count = keys.size();
@@ -2391,13 +2394,13 @@ void CMoviePlayerGui::callInfoViewer(bool init_vzap_it)
if (!bgThread) {
if (p_movie_info)
cGLCD::lockChannel(p_movie_info->channelName, p_movie_info->epgTitle);
else
cGLCD::lockChannel(pretty_name, info_1);
}
#endif
}
if (p_movie_info) {
if(duration <= 0)
UpdatePosition();
MI_MOVIE_INFO *mi;
mi = p_movie_info;