fix for codecs that can change resolution (DNxHD)

Administrator
2023-03-20T18:20:00Z

*Created by: markreidvfx*

Some codecs can change resolutions, namely DNxHD. This is a fix for that. When the frame size changes a new sws_Context needs to be created along with a new buffer_size.

here is example quicktime that changes resolution from 720p -> 1080p