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