Using a dummy OSD if no OSD provider is available is not considered an error any more

This commit is contained in:
Klaus Schmidinger 2024-01-18 11:06:45 +01:00
parent e5ae02e3fa
commit 35c8b3d22c
3 changed files with 6 additions and 2 deletions

View File

@ -2557,6 +2557,8 @@ Markus Ehrnsperger <markus.ehrnsperger@googlemail.com>
for reporting broken video data streams on systems without output device when switching
live channel to a different transponder while recording
for fixing a possible crash in cDevice::StopSectionHandler()
for making using a dummy OSD if no OSD provider is available not be considered an error
any more
Werner Färber <w.faerber@gmx.de>
for reporting a bug in handling the cPluginManager::Active() result when pressing

View File

@ -9869,3 +9869,5 @@ Video Disk Recorder Revision History
- Fixed height calculation in progress display (thanks to Matthias Senzel).
- Fixed a possible crash in cDevice::StopSectionHandler() (thanks to Markus
Ehrnsperger).
- Using a dummy OSD if no OSD provider is available is not considered an error any
more (thanks to Markus Ehrnsperger).

4
osd.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: osd.c 4.11 2020/12/18 23:02:47 kls Exp $
* $Id: osd.c 5.1 2024/01/18 11:06:45 kls Exp $
*/
#include "osd.h"
@ -2228,7 +2228,7 @@ cOsd *cOsdProvider::NewOsd(int Left, int Top, uint Level)
return Osd;
}
else
esyslog("ERROR: no OSD provider available - using dummy OSD!");
isyslog("no OSD provider available - using dummy OSD!");
return new cOsd(Left, Top, 999); // create a dummy cOsd, so that access won't result in a segfault
}