mm-video-v4l2: venc: Handle rotation in port definition update

When CAPTURE port definitions are updated during OUTPUT port
definition update, the resolutions must be swapped if Rotation is
enabled. Otherwise kernel may reject the setting in capability
or scaling checks.

Change-Id: I8c6a0f7f759eab17e4bbfd122a82c546859e28e1
1 file changed