/// <summary> /// Initializes a new instance of the <see cref="RenderingSubtitlesEventArgs" /> class. /// </summary> /// <param name="text">The text.</param> /// <param name="originalText">The original text.</param> /// <param name="format">The format.</param> /// <param name="stream">The stream.</param> /// <param name="startTime">The start time.</param> /// <param name="duration">The duration.</param> /// <param name="clock">The clock.</param> internal RenderingSubtitlesEventArgs( List <string> text, List <string> originalText, AVSubtitleType format, StreamInfo stream, TimeSpan startTime, TimeSpan duration, TimeSpan clock) : base(stream, startTime, duration, clock) { Text = text; Format = format; OriginalText = originalText; }
/// <summary> /// Initializes a new instance of the <see cref="RenderingSubtitlesEventArgs" /> class. /// </summary> /// <param name="text">The text.</param> /// <param name="originalText">The original text.</param> /// <param name="format">The format.</param> /// <param name="engineState">The engine.</param> /// <param name="stream">The stream.</param> /// <param name="startTime">The start time.</param> /// <param name="duration">The duration.</param> /// <param name="clock">The clock.</param> /// <param name="pts">The unadjusted PTS of the frame given in stream Time Base units.</param> internal RenderingSubtitlesEventArgs( IList <string> text, IList <string> originalText, AVSubtitleType format, IMediaEngineState engineState, StreamInfo stream, TimeSpan startTime, TimeSpan duration, TimeSpan clock, long pts) : base(engineState, stream, startTime, duration, clock, pts) { Text = text; Format = format; OriginalText = originalText; }