mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-10 15:18:28 +02:00
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:
@@ -5746,6 +5746,7 @@ void stop_daemons(bool stopall, bool for_flash)
|
|||||||
|
|
||||||
void stop_video()
|
void stop_video()
|
||||||
{
|
{
|
||||||
|
CFrameBuffer::getInstance()->paintBackground(); // clear osd
|
||||||
delete videoDecoder;
|
delete videoDecoder;
|
||||||
delete videoDemux;
|
delete videoDemux;
|
||||||
delete CFrameBuffer::getInstance();
|
delete CFrameBuffer::getInstance();
|
||||||
@@ -5758,6 +5759,7 @@ void sighandler (int signum)
|
|||||||
switch (signum) {
|
switch (signum) {
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
|
CVFD::getInstance()->ShowText("Exiting ...");
|
||||||
#ifdef ENABLE_LCD4LINUX
|
#ifdef ENABLE_LCD4LINUX
|
||||||
stop_lcd4l_support();
|
stop_lcd4l_support();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user