add operation to add generic track
Change-Id: I34e4ab14c0a5b022b77b98d9403125550024e730
This commit is contained in:
@@ -668,6 +668,13 @@ class Segment {
|
||||
// |ptr_writer| is NULL.
|
||||
bool Init(IMkvWriter* ptr_writer);
|
||||
|
||||
// Adds a generic track to the segment. Returns the newly-allocated
|
||||
// track object (which is owned by the segment) on success, NULL on
|
||||
// error. |number| is the number to use for the track. |number|
|
||||
// must be >= 0. If |number| == 0 then the muxer will decide on the
|
||||
// track number.
|
||||
Track* AddTrack(int32 number);
|
||||
|
||||
// Adds an audio track to the segment. Returns the number of the track on
|
||||
// success, 0 on error. |number| is the number to use for the audio track.
|
||||
// |number| must be >= 0. If |number| == 0 then the muxer will decide on
|
||||
|
||||
Reference in New Issue
Block a user