Represents a list of subtitle tracks. Call the ILMDmxSubtitle interface to get track lists from a demultiplexer, or the ILMMuxSubtitle interface to get track lists from a multiplexer.
Type | Name | Description |
---|---|---|
LONG | Count | A read-only property that represents number of tracks contained in the list. |
Gets the list index of a track for the specified track identifier.
A long value that specifies which track identifier in the list to retrieve.
A pointer to a long variable that receives the index of the track. A value of -1 is returned if the list does not contain a track with the specified identifier.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
Gets an ILMSubtitleTrack interface for a track, using the track identifier.
A long value that specifies which track identifier in the list to retrieve.
A pointer to a variable that receives a pointer to the IMFSubtitleTrack interface for the track.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_INVALIDARG | The track is not in the Tracks list. |
Gets the ILMSubtitleTrack interface for a track, using the track list index.
A long value that specifies the index of the track in the list to retrieve.
A pointer to a variable that receives a pointer to the IMFSubtitleTrack interface for the track.
Return | Description |
---|---|
S_OK | Successful. |
< 0 | An error occurred. |
E_INVALIDARG | The track is not in the Tracks list. |