(HEVC/Research) Use dedicated control variable to avoid problem when skipping frames to display.