DO NOT MERGE omx: check buffer port before using
am: 719fd3c062  -s ours

Change-Id: I7448195d4fd5f32c1b35ca48479473e9c352fef6