- neutrino: clear osd before deleting video and framebuffer

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-07-18 21:46:53 +02:00
committed by Thilo Graf
parent 32973379b5
commit 775dc6778b

View File

@@ -5649,6 +5649,7 @@ void stop_daemons(bool stopall, bool for_flash)
void stop_video()
{
CFrameBuffer::getInstance()->paintBackground(); // clear osd
delete videoDecoder;
delete videoDemux;
delete CFrameBuffer::getInstance();
@@ -5661,6 +5662,7 @@ void sighandler (int signum)
switch (signum) {
case SIGTERM:
case SIGINT:
CVFD::getInstance()->ShowText("Exiting ...");
#ifdef ENABLE_LCD4LINUX
stop_lcd4l_support();
#endif