summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-25 09:36:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-25 09:36:09 +0200
commitc6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932 (patch)
treeaef8dad67f4e01f6655e0e189af7af1576e038af /dvbdevice.c
parentdf5be87dc3aa8a94990dcc387729c551fb14a3db (diff)
downloadvdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.gz
vdr-c6ed4da7a0e8d9bf5664ba2c4282e3c6cb6d7932.tar.bz2
Added cDevice::NewOsd() to allow a derived cDevice class to implement its own OSD capabilities
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 6be882fa..52c7c3ba 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.7 2002/08/16 09:27:53 kls Exp $
+ * $Id: dvbdevice.c 1.8 2002/08/25 09:20:53 kls Exp $
*/
#include "dvbdevice.h"
@@ -193,6 +193,11 @@ bool cDvbDevice::HasDecoder(void) const
return fd_video >= 0 && fd_audio >= 0;
}
+cOsdBase *cDvbDevice::NewOsd(int x, int y)
+{
+ return new cDvbOsd(x, y);
+}
+
bool cDvbDevice::GrabImage(const char *FileName, bool Jpeg, int Quality, int SizeX, int SizeY)
{
int videoDev = DvbOpen(DEV_VIDEO, CardIndex(), O_RDWR, true);