From e16f36914b0a4fe6e893bcff33602e316e04e750 Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 1 May 2005 12:23:20 +0000 Subject: Now snapshot is read from frame queue. --- src/encoder.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/encoder.cc b/src/encoder.cc index 21e418d..ff09cdb 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -25,6 +25,10 @@ */ /* * $Log$ + * Revision 1.19 2005/05/01 12:23:20 deva + * + * Now snapshot is read from frame queue. + * * Revision 1.18 2005/05/01 11:25:56 deva * Added code to read screenshot from frame queue, decode it to rgb and put it into a qimage. * @@ -216,6 +220,7 @@ void Encoder::getScreenshot(unsigned char *rgb) frame = queue->peek(); if(!frame) { memset(rgb, 0, sizeof(rgb)); + fprintf(stderr, "Queue is empty\n"); fflush(stderr); return; } -- cgit v1.2.3