Fixed support for (bad) videos with unusual frame size.
Authored by: brunoherbelin 2015-10-27
Parent: [r1030]
Child: [r1032]