neutrino: clear osd before deleting video and framebuffer

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ffb8a61e2
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-07-18 (Sun, 18 Jul 2021)

Origin message was:
------------------
- neutrino: clear osd before deleting video and framebuffer

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-07-18 21:46:53 +02:00
parent c99798a67b
commit 727d0ec06c

View File

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