diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-29 14:51:59 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-29 14:51:59 +0100 |
commit | cb428520e6f5cb7f5e56f4ba06f54b1ce7b47c23 (patch) | |
tree | 5ff205432bb58eaeb831ac9a789559a2bdb7a42b /dvbdevice.h | |
parent | 5f7df33b1cabf1366eb414de1ac650c406d01ae3 (diff) | |
download | vdr-cb428520e6f5cb7f5e56f4ba06f54b1ce7b47c23.tar.gz vdr-cb428520e6f5cb7f5e56f4ba06f54b1ce7b47c23.tar.bz2 |
cDevice::GrabImage() now returns a pointer to the image in memory; cDevice::GrabImageFile() grabs the image to a file
Diffstat (limited to 'dvbdevice.h')
-rw-r--r-- | dvbdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.h b/dvbdevice.h index ed0cef8a..cc9d126a 100644 --- a/dvbdevice.h +++ b/dvbdevice.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.h 1.36 2005/11/11 14:51:38 kls Exp $ + * $Id: dvbdevice.h 1.37 2005/12/29 13:33:12 kls Exp $ */ #ifndef __DVBDEVICE_H @@ -85,7 +85,7 @@ private: static int devVideoOffset; int devVideoIndex; public: - virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); + virtual uchar *GrabImage(int &Size, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); // Video format facilities |