[PATCH v3 2/6] video: Let video_sync to return error value