aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs')
-rw-r--r--src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/Info.cs43
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; }
}