mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the return value of cOsdProvider::StoreImage() in case there is no OSD provider
This commit is contained in:
parent
11e04d4228
commit
410968304c
1
HISTORY
1
HISTORY
@ -7618,3 +7618,4 @@ Video Disk Recorder Revision History
|
|||||||
- Moved the definition of TIMERMACRO_TITLE and TIMERMACRO_EPISODE from recording.h to
|
- Moved the definition of TIMERMACRO_TITLE and TIMERMACRO_EPISODE from recording.h to
|
||||||
config.h and using them to initialize Setup.NameInstantRecord (avoids having the same
|
config.h and using them to initialize Setup.NameInstantRecord (avoids having the same
|
||||||
information in two places).
|
information in two places).
|
||||||
|
- Fixed the return value of cOsdProvider::StoreImage() in case there is no OSD provider.
|
||||||
|
4
osd.c
4
osd.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osd.c 2.37 2013/02/13 12:55:26 kls Exp $
|
* $Id: osd.c 2.38 2013/02/14 15:50:19 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
@ -2057,7 +2057,7 @@ int cOsdProvider::StoreImage(const cImage &Image)
|
|||||||
{
|
{
|
||||||
if (osdProvider)
|
if (osdProvider)
|
||||||
return osdProvider->StoreImageData(Image);
|
return osdProvider->StoreImageData(Image);
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cOsdProvider::DropImage(int ImageHandle)
|
void cOsdProvider::DropImage(int ImageHandle)
|
||||||
|
Loading…
Reference in New Issue
Block a user