🐛Fix track type when dumping DVD, HD DVD, BD or XGD.

This commit is contained in:
2018-02-05 18:23:53 +00:00
parent 96779b1261
commit 4912e3f73b
2 changed files with 18 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ using DiscImageChef.Metadata;
using Extents;
using Schemas;
using MediaType = DiscImageChef.CommonTypes.MediaType;
using TrackType = DiscImageChef.DiscImages.TrackType;
namespace DiscImageChef.Core.Devices.Dumping
{
@@ -300,7 +301,8 @@ namespace DiscImageChef.Core.Devices.Dumping
TrackSequence = 1,
TrackRawBytesPerSector = (int)blockSize,
TrackSubchannelType = TrackSubchannelType.None,
TrackSession = 1
TrackSession = 1,
TrackType = TrackType.Data
}
});
else if(decMode.HasValue)