Some fixes for metadata rewriting in DTSC::File, optimized live fragmenter somewhat.
This commit is contained in:
parent
bf69dacefd
commit
4a79862111
2 changed files with 11 additions and 20 deletions
|
@ -69,6 +69,7 @@ namespace DTSC {
|
|||
File(std::string filename, bool create = false);
|
||||
~File();
|
||||
JSON::Value & getMeta();
|
||||
JSON::Value & getFirstMeta();
|
||||
long long int getLastReadPos();
|
||||
bool writeHeader(std::string & header, bool force = false);
|
||||
long long int addHeader(std::string & header);
|
||||
|
@ -82,6 +83,7 @@ namespace DTSC {
|
|||
std::string strbuffer;
|
||||
JSON::Value jsonbuffer;
|
||||
JSON::Value metadata;
|
||||
JSON::Value firstmetadata;
|
||||
std::map<int, long> frames;
|
||||
std::map<int, long> msframes;
|
||||
long long int currtime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue