h264encode: use frame height not the height from VAImage which may be wrong