Added legacy Omx support 

this will fix video encoding and decoding issue