Use new get_packet_and_increment_it in decoder. Adjust some debugging levels

This commit is contained in:
Isaac Connor 2021-06-03 18:22:12 -04:00
parent 91892c79b1
commit afecd33879
1 changed files with 2 additions and 0 deletions

View File

@ -2630,7 +2630,9 @@ bool Monitor::Decode() {
delete packet->image; delete packet->image;
packet->image = nullptr; packet->image = nullptr;
} }
Debug(1, "Done assigning about to unref");
av_frame_unref(dest_frame); av_frame_unref(dest_frame);
Debug(1, "Done assigning onde to unref");
} // end if have convert_context } // end if have convert_context
} // end if need transfer to image } // end if need transfer to image
} else { } else {