Skip to content

Commit

Permalink
Mark audio packets as decoded
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Jun 17, 2024
1 parent acbc994 commit 402faeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zm_monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2907,6 +2907,7 @@ bool Monitor::Decode() {
if (!packet_lock) return false;
std::shared_ptr<ZMPacket> packet = packet_lock->packet_;
if (packet->codec_type != AVMEDIA_TYPE_VIDEO) {
packet->decoded = true;
Debug(4, "Not video");
//packetqueue.unlock(packet_lock);
delete packet_lock;
Expand Down

0 comments on commit 402faeb

Please sign in to comment.