support gaps between frame_num 2.

Signed-off-by: Zhong Cong <congx.zhong@intel.com>