diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/encoder.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |