Merge branch 'development' into LTS_development
# Conflicts: # src/output/output_ebml.cpp
This commit is contained in:
commit
a0b011325c
5 changed files with 105 additions and 42 deletions
|
@ -516,6 +516,12 @@ namespace EBML{
|
|||
return std::string(strPtr, strLen);
|
||||
}
|
||||
|
||||
std::string Element::getValStringUntrimmed() const{
|
||||
uint64_t strLen = getPayloadLen();
|
||||
const char * strPtr = getPayload();
|
||||
return std::string(strPtr, strLen);
|
||||
}
|
||||
|
||||
uint64_t Block::getTrackNum() const{return UniInt::readInt(getPayload());}
|
||||
|
||||
int16_t Block::getTimecode() const{
|
||||
|
|
|
@ -97,6 +97,7 @@ namespace EBML{
|
|||
int64_t getValInt() const;
|
||||
double getValFloat() const;
|
||||
std::string getValString() const;
|
||||
std::string getValStringUntrimmed() const;
|
||||
const Element findChild(uint32_t id) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue