FMediaIOCoreSamples::FetchSubtitle

Fetch the next subtitle sample.

Windows
MacOS
Linux

Override Hierarchy

IMediaSamples::FetchSubtitle()

FMediaIOCoreSamples::FetchSubtitle()

References

Module

MediaIOCore

Header

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Public/MediaIOCoreSamples.h

Include

#include "MediaIOCoreSamples.h"

Source

/Engine/Plugins/Media/MediaIOFramework/Source/MediaIOCore/Private/Player/MediaIOCoreSamples.cpp

Syntax

virtual bool FetchSubtitle
(
    TRange< FTimespan > TimeRange,
    TSharedPtr< IMediaOverlaySample, ESPMode::ThreadSafe > & OutSample
)

Remarks

Fetch the next subtitle sample.

Returns

true if the returned sample is valid, false otherwise.

Parameters

Parameter

Description

TimeRange

The range of present times that the sample is allowed to have.

OutSample

Will contain the sample if the queue is not empty.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss