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.

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.

Methods

HRESULT SelectTrack(LONG trackid, VARIANT_BOOL selected);

Description

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

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.

Returns

Return Description
S_OK Successful.
< 0 An error occurred.
E_INVALIDARG The track is not in the Tracks list.
Help Version 23.0.2024.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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