DTSC Header rewrite

# Conflicts:
#	lib/dtsc.h
#	lib/dtscmeta.cpp
This commit is contained in:
Thulinma 2015-04-20 12:26:50 +02:00
parent 0913d2607e
commit 8a6dadf279
2 changed files with 38 additions and 42 deletions

View file

@ -240,12 +240,12 @@ namespace DTSC {
private:
///\brief Data storage for this Key.
///
/// - 5 bytes: MSB storage of the position of the first packet of this keyframe within the file.
/// - 8 bytes: MSB storage of the position of the first packet of this keyframe within the file.
/// - 3 bytes: MSB storage of the duration of this keyframe.
/// - 2 bytes: MSB storage of the number of this keyframe.
/// - 4 bytes: MSB storage of the number of this keyframe.
/// - 2 bytes: MSB storage of the amount of parts in this keyframe.
/// - 4 bytes: MSB storage of the timestamp associated with this keyframe's first packet.
char data[16];
/// - 8 bytes: MSB storage of the timestamp associated with this keyframe's first packet.
char data[25];
};
///\brief Basic class for storage of data associated with fragments.
@ -266,9 +266,9 @@ namespace DTSC {
///
/// - 4 bytes: duration (in milliseconds)
/// - 1 byte: length (amount of keyframes)
/// - 2 bytes: number of first keyframe in fragment
/// - 4 bytes: number of first keyframe in fragment
/// - 4 bytes: size of fragment in bytes
char data[11];
char data[13];
};
///\brief Class for storage of track data