diff options
author | deva <deva> | 2005-04-26 10:17:04 +0000 |
---|---|---|
committer | deva <deva> | 2005-04-26 10:17:04 +0000 |
commit | 617a90f67fe2f768fa0ce7002623e43581865837 (patch) | |
tree | 8a6be27dc165b9a4aa9d923b8d504e541deb605b /src/encoder.cc | |
parent | 0ffc2529d674a71a794effaa0975364c219f9115 (diff) |
*** empty log message ***
Diffstat (limited to 'src/encoder.cc')
-rw-r--r-- | src/encoder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/encoder.cc b/src/encoder.cc index 1664588..ef575e7 100644 --- a/src/encoder.cc +++ b/src/encoder.cc @@ -75,6 +75,7 @@ void Encoder::encode() pthread_mutex_lock(mutex); frame = queue->pop(); + queue->plength(); pthread_mutex_unlock(mutex); if((frame && record) || @@ -96,7 +97,6 @@ void Encoder::encode() } if(frame) delete frame; } - // pthread_exit(NULL); } @@ -130,6 +130,7 @@ void Encoder::shoot() void Encoder::run() { encode(); + fprintf(stderr, "Encoder thread stopped.\n"); fflush(sdterr); } |