Fix crash in duplicate frame on rotated videos (#405).
Fix crash in duplicate frame on rotated videos (#405).

See https://github.com/mltframework/shotcut/issues/271

mltframework/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt,mltframework/mlt,j-b-m/mlt,j-b-m/mlt,j-b-m/mlt,mltframework/mlt,mltframework/mlt