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 /svdrp.c | |
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 'svdrp.c')
-rw-r--r-- | svdrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |