if no packet found, still append to end

pull/2618/head
Isaac Connor 2019-05-03 14:58:29 -04:00
parent aec8311deb
commit c91da4a7f5
1 changed files with 4 additions and 2 deletions

View File

@ -94,9 +94,11 @@ bool zm_packetqueue::queuePacket(ZMPacket* zm_packet) {
packet_counts[zm_packet->packet.stream_index] += 1;
return true;
}
Warning("Unable to insert packet for stream %d with dts %" PRId64 " into queue.",
Debug(1,"Unable to insert packet for stream %d with dts %" PRId64 " into queue.",
zm_packet->packet.stream_index, zm_packet->packet.dts);
return false;
pktQueue.push_back(zm_packet);
packet_counts[zm_packet->packet.stream_index] += 1;
return true;
} // end bool zm_packetqueue::queuePacket(ZMPacket* zm_packet)
bool zm_packetqueue::queuePacket(AVPacket* av_packet) {