Experimental: Adding more QImage clean-up logging, to track buffer addresses

This commit is contained in:
Jonathan Thomas
2022-07-26 21:40:28 -05:00
parent 2c193463ce
commit 01d16fe04a
3 changed files with 8 additions and 5 deletions

View File

@@ -763,6 +763,7 @@ void Frame::AddImage(
(QImageCleanupFunction) &openshot::cleanUpBuffer,
(void*) pixels_
);
std::cout << "Frame::AddImage, number: " << number << ", Cleanup buffer: " << ( void * )&pixels_[0] << ", width: " << new_width << ", height: " << new_height << std::endl;
AddImage(new_image);
}