mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-27 08:48:31 -04:00
Merge branch 'storageareas' into origin/zma_to_thread
This commit is contained in:
commit
077ad75516
140 files changed
+4040
-2119
No files matched your search
@@ -255,7 +255,7 @@ void zm_packetqueue::clearQueue() {
|
||||
mutex.lock();
|
||||
ZMPacket *packet = NULL;
|
||||
int delete_count = 0;
|
||||
while(!pktQueue.empty()) {
|
||||
while ( !pktQueue.empty() ) {
|
||||
packet = pktQueue.front();
|
||||
packet_counts[packet->packet.stream_index] -= 1;
|
||||
pktQueue.pop_front();
|
||||
@@ -288,7 +288,6 @@ ZMPacket *zm_packetqueue::get_analysis_packet() {
|
||||
mutex.lock();
|
||||
while ( ((! pktQueue.size()) || ( analysis_it == pktQueue.end() )) && !zm_terminate ) {
|
||||
Debug(2,"waiting. Queue size %d analysis_it == end? %d", pktQueue.size(), ( analysis_it == pktQueue.end() ) );
|
||||
|
||||
condition->wait();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user