ILMDmxSubtitle Interface

This is an interface, exposed by demultiplexers, that allows timed delivery of subtitle text.

For an overview of implementing the ILMDmxSubtitle interface, refer to Displaying Subtitles.

Interface Properties

Type Name Description

ILMSubtitleTrackList

Tracks A read-only property containing a list of all the tracks.

ILMSubtitleTrackList

TextTracks A read-only property containing a list of all the text tracks.

ILMSubtitleTrackList

SelectedTracks A read-only property containing a list of all the selected tracks. Selected tracks receive callback notifications.

ILMDmxSubtitleCallback

Callback The user-specified callback interface that receives notifications.

Interface Methods

HRESULT SelectTrack(LONG trackid, VARIANT_BOOL selected);

Parameters

trackid A long value containing the track identifier.
selected A VARIANT_BOOL value that indicates whether the track is selected or deselected. A value of VARIANT_TRUE selects the track. A value of VARIANT_FALSE deselects the track.

Description

Selects or deselects the specified track. Selected tracks receive callback notifications.

Returns

S_OK if successful; < 0 if an error occurred.

Common Error Codes:

E_INVALIDARG

The track is not in the Tracks list.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.