From cb428520e6f5cb7f5e56f4ba06f54b1ce7b47c23 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 29 Dec 2005 14:51:59 +0100 Subject: cDevice::GrabImage() now returns a pointer to the image in memory; cDevice::GrabImageFile() grabs the image to a file --- dvbdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dvbdevice.h') 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 -- cgit v1.2.3