Fixed a character case mistake in command line options, added missing documentation to internal metadata format.
This commit is contained in:
parent
1393033d14
commit
55a8c55c24
2 changed files with 9 additions and 3 deletions
|
@ -39,7 +39,7 @@ std::string Util::Config::libver = PACKAGE_VERSION;
|
||||||
|
|
||||||
Util::Config::Config() {
|
Util::Config::Config() {
|
||||||
//global options here
|
//global options here
|
||||||
vals["debug"]["long"] = "Debug";
|
vals["debug"]["long"] = "debug";
|
||||||
vals["debug"]["short"] = "g";
|
vals["debug"]["short"] = "g";
|
||||||
vals["debug"]["arg"] = "integer";
|
vals["debug"]["arg"] = "integer";
|
||||||
vals["debug"]["help"] = "The debug level at which messages need to be printed.";
|
vals["debug"]["help"] = "The debug level at which messages need to be printed.";
|
||||||
|
|
10
lib/dtsc.h
10
lib/dtsc.h
|
@ -193,7 +193,7 @@ namespace DTSC {
|
||||||
char * getData();
|
char * getData();
|
||||||
void toPrettyString(std::ostream & str, int indent = 0);
|
void toPrettyString(std::ostream & str, int indent = 0);
|
||||||
private:
|
private:
|
||||||
///\brief Data storage for this packet.
|
///\brief Data storage for this Part.
|
||||||
///
|
///
|
||||||
/// - 3 bytes: MSB storage of the payload size of this packet in bytes.
|
/// - 3 bytes: MSB storage of the payload size of this packet in bytes.
|
||||||
/// - 2 bytes: MSB storage of the duration of this packet in milliseconds.
|
/// - 2 bytes: MSB storage of the duration of this packet in milliseconds.
|
||||||
|
@ -219,7 +219,7 @@ namespace DTSC {
|
||||||
char * getData();
|
char * getData();
|
||||||
void toPrettyString(std::ostream & str, int indent = 0);
|
void toPrettyString(std::ostream & str, int indent = 0);
|
||||||
private:
|
private:
|
||||||
///\brief Data storage for this packet.
|
///\brief Data storage for this Key.
|
||||||
///
|
///
|
||||||
/// - 5 bytes: MSB storage of the position of the first packet of this keyframe within the file.
|
/// - 5 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.
|
/// - 3 bytes: MSB storage of the duration of this keyframe.
|
||||||
|
@ -243,6 +243,12 @@ namespace DTSC {
|
||||||
char * getData();
|
char * getData();
|
||||||
void toPrettyString(std::ostream & str, int indent = 0);
|
void toPrettyString(std::ostream & str, int indent = 0);
|
||||||
private:
|
private:
|
||||||
|
///\Brief Data storage for this Fragment.
|
||||||
|
///
|
||||||
|
/// - 4 bytes: duration (in milliseconds)
|
||||||
|
/// - 1 byte: length (amount of keyframes)
|
||||||
|
/// - 2 bytes: number of first keyframe in fragment
|
||||||
|
/// - 4 bytes: size of fragment in bytes
|
||||||
char data[11];
|
char data[11];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue