diff options
| author | Brogan Ross <brogan.ross@bydeluxe.com> | 2020-05-27 11:46:12 -0700 |
|---|---|---|
| committer | Brogan Ross <brogan.ross@bydeluxe.com> | 2020-05-27 11:46:12 -0700 |
| commit | cd997f403aab47193b1f6c6a6ee9e820851a086d (patch) | |
| tree | 66b7a1761cb0dba1545fff5137b5362d4d29b468 | |
| parent | 7b70b206a3bd767aad3a9a3c789cff9d0e9c38f2 (diff) | |
set TimedTextResourceDescriptor.ResourceID and TimedTextDescriptor.AssetID to 0
| -rwxr-xr-x | src/AS_DCP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP.h b/src/AS_DCP.h index 74991f6..f39c9c8 100755 --- a/src/AS_DCP.h +++ b/src/AS_DCP.h @@ -1455,7 +1455,7 @@ namespace ASDCP { byte_t ResourceID[UUIDlen]; MIMEType_t Type; - TimedTextResourceDescriptor() : Type(MT_BIN) {} + TimedTextResourceDescriptor() : Type(MT_BIN) { memset(ResourceID, 0, UUIDlen); } }; typedef std::list<TimedTextResourceDescriptor> ResourceList_t; @@ -1469,7 +1469,7 @@ namespace ASDCP { std::string EncodingName; ResourceList_t ResourceList; - TimedTextDescriptor() : ContainerDuration(0), EncodingName("UTF-8") {} // D-Cinema format is always UTF-8 + TimedTextDescriptor() : ContainerDuration(0), EncodingName("UTF-8") { memset(AssetID, 0, UUIDlen); } // D-Cinema format is always UTF-8 }; // Print debugging information to std::ostream |
