summaryrefslogtreecommitdiff
path: root/src/encoder.cc
diff options
context:
space:
mode:
authordeva <deva>2005-05-01 12:23:20 +0000
committerdeva <deva>2005-05-01 12:23:20 +0000
commite16f36914b0a4fe6e893bcff33602e316e04e750 (patch)
tree0755f960c8ad9b954eea78aceff0ca0ff3b293cc /src/encoder.cc
parent2c8088f2b146c0665d730006a91addb117092391 (diff)
Now snapshot is read from frame queue.
Diffstat (limited to 'src/encoder.cc')
-rw-r--r--src/encoder.cc5
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;
}