Experimental: adding debug logging to Frame destructor and QImage cleanup. Also, preventing processing of empty samples

This commit is contained in:
Jonathan Thomas
2022-07-26 15:09:57 -05:00
parent 285059baad
commit 89321d3bae
3 changed files with 12 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ void Frame::DeepCopy(const Frame& other)
// Destructor
Frame::~Frame() {
std::cout << "Frame::~Frame, number: " << number << ", has_image_data: " << has_image_data << std::endl;
// Clear all pointers
image.reset();
audio.reset();