Legacy OMX patch
This was created by Gangster41 for 7x27 devices which was ported to kitkat by KonstaT.

For this Patch to work you need to add TARGET_QCOM_LEGACY_OMX := true and TARGET_USES_SUBMIT_ONE_INPUT_BUFFER := true in your boardconfig.mk

For qsd8k devices you also need to add TARGET_LEGACY_OMX_QSD8K := true

This patch is tested on htcleo and fixes camcorder and 720p playback
Credits to Gangster41, KonstaT and tytungs for getting on leo sincee cm10