Apparently having a chain AND the pix_fmt parameter produces issues with higher resolutions. Should fix #1317