MatroskaWriterAddTrack Method |
Adds a new track to the Matroska container.
Namespace: StreamCoders.ContainerAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public TrackInfo AddTrack(
TrackInfo track
)
Public Function AddTrack (
track As TrackInfo
) As TrackInfo
public:
virtual TrackInfo^ AddTrack(
TrackInfo^ track
) sealed
abstract AddTrack :
track : TrackInfo -> TrackInfo
override AddTrack :
track : TrackInfo -> TrackInfo
Parameters
- track
- Type: StreamCodersTrackInfo
The track information to add.
Return Value
Type:
TrackInfo
A new TrackInfo instance that should be use for all subsequent calls to this object.
Implements
IWriterAddTrack(TrackInfo)Remarks
This method may throw first chance exceptions due to the internal cloning of the
TrackInfo object.
See Also Reference
IWriter.AddTrack(TrackInfo)