Adding logic to set pad active in omx_camera