| | 1 | | namespace Jellyfin.MediaEncoding.Keyframes.Matroska.Models; |
| | 2 | |
|
| | 3 | | /// <summary> |
| | 4 | | /// The matroska SeekHead segment. All positions are relative to the Segment container. |
| | 5 | | /// </summary> |
| | 6 | | internal class SeekHead |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// Initializes a new instance of the <see cref="SeekHead"/> class. |
| | 10 | | /// </summary> |
| | 11 | | /// <param name="infoPosition">The relative file position of the info segment.</param> |
| | 12 | | /// <param name="tracksPosition">The relative file position of the tracks segment.</param> |
| | 13 | | /// <param name="cuesPosition">The relative file position of the cues segment.</param> |
| | 14 | | public SeekHead(long infoPosition, long tracksPosition, long cuesPosition) |
| 0 | 15 | | { |
| | 16 | | InfoPosition = infoPosition; |
| | 17 | | TracksPosition = tracksPosition; |
| | 18 | | CuesPosition = cuesPosition; |
| 0 | 19 | | } |
| | 20 | |
|
| | 21 | | /// <summary> |
| | 22 | | /// Gets relative file position of the info segment. |
| | 23 | | /// </summary> |
| | 24 | | public long InfoPosition { get; } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Gets the relative file position of the tracks segment. |
| | 28 | | /// </summary> |
| | 29 | | public long TracksPosition { get; } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Gets the relative file position of the cues segment. |
| | 33 | | /// </summary> |
| | 34 | | public long CuesPosition { get; } |
| | 35 | | } |