diff --git a/lib/config.cpp b/lib/config.cpp index c6ce8f0a..debc51c8 100644 --- a/lib/config.cpp +++ b/lib/config.cpp @@ -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."; diff --git a/lib/dtsc.h b/lib/dtsc.h index c2e2f6ea..92501c49 100644 --- a/lib/dtsc.h +++ b/lib/dtsc.h @@ -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]; };