summaryrefslogtreecommitdiff
path: root/svdrp.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-29 14:51:59 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-29 14:51:59 +0100
commitcb428520e6f5cb7f5e56f4ba06f54b1ce7b47c23 (patch)
tree5ff205432bb58eaeb831ac9a789559a2bdb7a42b /svdrp.c
parent5f7df33b1cabf1366eb414de1ac650c406d01ae3 (diff)
downloadvdr-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 'svdrp.c')
-rw-r--r--svdrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svdrp.c b/svdrp.c
index c6b557b9..91b39518 100644
--- a/svdrp.c
+++ b/svdrp.c
@@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection.
*
- * $Id: svdrp.c 1.85 2005/12/29 12:17:27 kls Exp $
+ * $Id: svdrp.c 1.86 2005/12/29 13:33:43 kls Exp $
*/
#include "svdrp.h"
@@ -711,7 +711,7 @@ void cSVDRP::CmdGRAB(const char *Option)
Reply(501, "Unexpected parameter \"%s\"", p);
return;
}
- if (cDevice::PrimaryDevice()->GrabImage(FileName, Jpeg, Quality, SizeX, SizeY))
+ if (cDevice::PrimaryDevice()->GrabImageFile(FileName, Jpeg, Quality, SizeX, SizeY))
Reply(250, "Grabbed image %s", Option);
else
Reply(451, "Grab image failed");