aboutsummaryrefslogtreecommitdiff
path: root/DvdLib/Ifo/CellPlaybackInfo.cs
diff options
context:
space:
mode:
authorDominik <git@secnd.me>2023-06-15 19:38:42 +0200
committerGitHub <noreply@github.com>2023-06-15 19:38:42 +0200
commit17f1e8d19b1fd693893d66d2275ed8ae2476344e (patch)
tree7f48be975faa92042769870957587b3c7864f631 /DvdLib/Ifo/CellPlaybackInfo.cs
parente8ae7e5c38e28f13fa8de295e26c930cb46d9b79 (diff)
parent6771b5cabe96b4b3cbd1cd0c998d564f3dd17ed4 (diff)
Merge branch 'master' into segment-deletion
Diffstat (limited to 'DvdLib/Ifo/CellPlaybackInfo.cs')
-rw-r--r--DvdLib/Ifo/CellPlaybackInfo.cs52
1 files changed, 0 insertions, 52 deletions
diff --git a/DvdLib/Ifo/CellPlaybackInfo.cs b/DvdLib/Ifo/CellPlaybackInfo.cs
deleted file mode 100644
index 6e33a0ec5..000000000
--- a/DvdLib/Ifo/CellPlaybackInfo.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-#pragma warning disable CS1591
-
-using System.IO;
-
-namespace DvdLib.Ifo
-{
- public enum BlockMode
- {
- NotInBlock = 0,
- FirstCell = 1,
- InBlock = 2,
- LastCell = 3,
- }
-
- public enum BlockType
- {
- Normal = 0,
- Angle = 1,
- }
-
- public enum PlaybackMode
- {
- Normal = 0,
- StillAfterEachVOBU = 1,
- }
-
- public class CellPlaybackInfo
- {
- public readonly BlockMode Mode;
- public readonly BlockType Type;
- public readonly bool SeamlessPlay;
- public readonly bool Interleaved;
- public readonly bool STCDiscontinuity;
- public readonly bool SeamlessAngle;
- public readonly PlaybackMode PlaybackMode;
- public readonly bool Restricted;
- public readonly byte StillTime;
- public readonly byte CommandNumber;
- public readonly DvdTime PlaybackTime;
- public readonly uint FirstSector;
- public readonly uint FirstILVUEndSector;
- public readonly uint LastVOBUStartSector;
- public readonly uint LastSector;
-
- internal CellPlaybackInfo(BinaryReader br)
- {
- br.BaseStream.Seek(0x4, SeekOrigin.Current);
- PlaybackTime = new DvdTime(br.ReadBytes(4));
- br.BaseStream.Seek(0x10, SeekOrigin.Current);
- }
- }
-}