diff options
| author | cvium <clausvium@gmail.com> | 2022-01-11 23:30:30 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2022-01-11 23:30:30 +0100 |
| commit | 6ffa9539bbfbfb1090b02cebc8a28283a8c69041 (patch) | |
| tree | 13f4a1d968780f90cd7d0c99e422970117a380f0 /src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs | |
| parent | c658a883a2bc84b46ed73d209d2983e8a324cdce (diff) | |
Refactor and add scheduled task
Diffstat (limited to 'src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs')
| -rw-r--r-- | src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs b/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs index 02c6741ec..415d6da00 100644 --- a/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs +++ b/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs @@ -1,29 +1,28 @@ -namespace Jellyfin.MediaEncoding.Keyframes.Matroska.Models +namespace Jellyfin.MediaEncoding.Keyframes.Matroska.Models; + +/// <summary> +/// The matroska Info segment. +/// </summary> +internal class Info { /// <summary> - /// The matroska Info segment. + /// Initializes a new instance of the <see cref="Info"/> class. /// </summary> - internal class Info + /// <param name="timestampScale">The timestamp scale in nanoseconds.</param> + /// <param name="duration">The duration of the entire file.</param> + public Info(long timestampScale, double? duration) { - /// <summary> - /// Initializes a new instance of the <see cref="Info"/> class. - /// </summary> - /// <param name="timestampScale">The timestamp scale in nanoseconds.</param> - /// <param name="duration">The duration of the entire file.</param> - public Info(long timestampScale, double? duration) - { - TimestampScale = timestampScale; - Duration = duration; - } + TimestampScale = timestampScale; + Duration = duration; + } - /// <summary> - /// Gets the timestamp scale in nanoseconds. - /// </summary> - public long TimestampScale { get; } + /// <summary> + /// Gets the timestamp scale in nanoseconds. + /// </summary> + public long TimestampScale { get; } - /// <summary> - /// Gets the total duration of the file. - /// </summary> - public double? Duration { get; } - } + /// <summary> + /// Gets the total duration of the file. + /// </summary> + public double? Duration { get; } } |
