Skip to content

Commit

Permalink
get access to the EbmlCallbacks of all EbmlElement
Browse files Browse the repository at this point in the history
It's mandatory since 8494914 and always stored in the EbmlElement.
  • Loading branch information
robUx4 committed Jan 1, 2024
1 parent 4eab5f1 commit f427f72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ebml/EbmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ class EBML_DLL_API EbmlElement {
virtual ~EbmlElement() = default;
EbmlElement& operator=(const EbmlElement&) = delete;

const EbmlCallbacks & ElementSpec() const { return ClassInfo; }

/// Set the minimum length that will be used to write the element size (-1 = optimal)
void SetSizeLength(int NewSizeLength) {SizeLength = NewSizeLength;}
int GetSizeLength() const {return SizeLength;}
Expand Down

0 comments on commit f427f72

Please sign in to comment.