mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-09 09:26:40 -04:00
include stream index and packet queue size in debug message
This commit is contained in:
@@ -42,7 +42,8 @@ bool zm_packetqueue::queuePacket(ZMPacket* zm_packet) {
|
||||
||
|
||||
( packet_counts[zm_packet->packet.stream_index] <= 0 )
|
||||
) {
|
||||
Debug(2,"Inserting packet with dts %" PRId64 " because queue is empty or invalid dts", zm_packet->packet.dts);
|
||||
Debug(2,"Inserting packet with dts %" PRId64 " because queue %d is empty (queue size: %d) or invalid dts",
|
||||
zm_packet->packet.stream_index, packet_counts[zm_packet->packet.stream_index], zm_packet->packet.dts);
|
||||
// No dts value, can't so much with it
|
||||
pktQueue.push_back(zm_packet);
|
||||
packet_counts[zm_packet->packet.stream_index] += 1;
|
||||
|
||||
Reference in New Issue
Block a user