UpdateTimesFromFrames() private method

private UpdateTimesFromFrames ( ) : void
return void
示例#1
0
        /* Public methods */

        /// <summary>Shifts the subtitle with a specified amount of frames.</summary>
        /// <param name="frames">The number of frames to shift the subtitle with, which can be positive or negative.</param>
        public void Shift(int frames)
        {
            PreciseStart += frames;
            PreciseEnd   += frames;
            subtitle.UpdateTimesFromFrames();
        }