mkvmuxer: Add element start notification.

Just before the first byte of an element identifier is written
the muxer calls IMkvWriter::ElementStartNotify to report the
position of the element in the WebM stream.

Change-Id: Iac40090587bd9496b05f41203aace00902f5606e
This commit is contained in:
Tom Finegan
2012-01-19 16:37:11 -05:00
parent 01d5924817
commit 1e37a264f1
4 changed files with 13 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ class MkvWriter : public IMkvWriter {
virtual int64 Position() const;
virtual int32 Position(int64 position);
virtual bool Seekable() const;
virtual void ElementStartNotify(uint64 element_id, int64 position);
virtual int32 Write(const void* buffer, uint32 length);
// Creates and opens a file for writing. |filename| is the name of the file