include stream index and packet queue size in debug message

This commit is contained in:
Isaac Connor committed 2019-10-11 13:53:18 -04:00
1 parent 70396c5897
commit 3b586a2abe
1 file changed
+2 -1
+2 -1
View File
@@ -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;