fix index -> image_index
This commit is contained in:
parent
ed901b0235
commit
7b5ab0adae
|
@ -263,7 +263,7 @@ void PacketQueue::clearPackets(const std::shared_ptr<ZMPacket> &add_packet) {
|
||||||
zm_packet = *it;
|
zm_packet = *it;
|
||||||
lp = new ZMLockedPacket(zm_packet);
|
lp = new ZMLockedPacket(zm_packet);
|
||||||
if (!lp->trylock()) {
|
if (!lp->trylock()) {
|
||||||
Debug(3, "Failed locking packet %d", zm_packet->index);
|
Debug(3, "Failed locking packet %d", zm_packet->image_index);
|
||||||
delete lp;
|
delete lp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue