mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
- neutrino: clear osd before deleting video and framebuffer
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -5649,6 +5649,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();
|
||||||
@@ -5661,6 +5662,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