using System.Collections.Generic;
namespace Jellyfin.MediaEncoding.Keyframes;
///
/// Keyframe information for a specific file.
///
public class KeyframeData
{
///
/// Initializes a new instance of the class.
///
/// The total duration of the video stream in ticks.
/// The video keyframes in ticks.
public KeyframeData(long totalDuration, IReadOnlyList keyframeTicks)
{
TotalDuration = totalDuration;
KeyframeTicks = keyframeTicks;
}
///
/// Gets the total duration of the stream in ticks.
///
public long TotalDuration { get; }
///
/// Gets the keyframes in ticks.
///
public IReadOnlyList KeyframeTicks { get; }
}