From e1e8980491e42098bda7439d6bd4539f8808b090 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 20 Dec 2017 10:55:33 +0100 Subject: [PATCH] movieplayer: try to fix lua-playlist playback; ... there seems an issue in libstb-hal when a background-picture is displayed before video playback is started. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5c735a65d932e44d8223136e845dbb3c8180b18e Author: vanhofen Date: 2017-12-20 (Wed, 20 Dec 2017) Origin message was: ------------------ - movieplayer: try to fix lua-playlist playback; ... there seems an issue in libstb-hal when a background-picture is displayed before video playback is started. --- src/gui/movieplayer.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index e592a3e8b..f3e9623fd 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1406,13 +1406,8 @@ bool CMoviePlayerGui::PlayFileStart(void) pthread_create(&thrStartHint, NULL, CMoviePlayerGui::ShowStartHint, this); } - if (filefilter_audio.matchFilter(file_name)) - { + if (is_audio_playing) frameBuffer->showFrame("mp3.jpg"); - is_audio_playing = true; - } - else - is_audio_playing = false; bool res = playback->Start((char *) file_name.c_str(), vpid, vtype, currentapid, currentac3, duration);