[PATCH v2 3/5] video: Use cyclic to handle video sync