Fixed a character case mistake in command line options, added missing documentation to internal metadata format.

This commit is contained in:
Thulinma 2015-02-21 16:33:22 +01:00
parent 1393033d14
commit 55a8c55c24
2 changed files with 9 additions and 3 deletions

View file

@ -39,7 +39,7 @@ std::string Util::Config::libver = PACKAGE_VERSION;
Util::Config::Config() {
//global options here
vals["debug"]["long"] = "Debug";
vals["debug"]["long"] = "debug";
vals["debug"]["short"] = "g";
vals["debug"]["arg"] = "integer";
vals["debug"]["help"] = "The debug level at which messages need to be printed.";

View file

@ -193,7 +193,7 @@ namespace DTSC {
char * getData();
void toPrettyString(std::ostream & str, int indent = 0);
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.
/// - 2 bytes: MSB storage of the duration of this packet in milliseconds.
@ -219,7 +219,7 @@ namespace DTSC {
char * getData();
void toPrettyString(std::ostream & str, int indent = 0);
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.
/// - 3 bytes: MSB storage of the duration of this keyframe.
@ -243,6 +243,12 @@ namespace DTSC {
char * getData();
void toPrettyString(std::ostream & str, int indent = 0);
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];
};