mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-28 01:08:27 -04:00
Fix never allowing the queue to fill when pre_event_count=0
This commit is contained in:
1 parent
a5417cfe6c
commit
b71aa4bd97
1 file changed
+2
@@ -104,6 +104,8 @@ bool PacketQueue::queuePacket(ZMPacket* add_packet) {
|
||||
add_packet->keyframe
|
||||
and
|
||||
(packet_counts[video_stream_id] > max_video_packet_count)
|
||||
and
|
||||
*(pktQueue.begin()) != add_packet
|
||||
) {
|
||||
packetqueue_iterator it = pktQueue.begin();
|
||||
int video_stream_packets = 0;
|
||||
|
||||
Reference in new issue
Block a user