Home
last modified time | relevance | path

Searched refs:textFrame (Results 1 – 1 of 1) sorted by relevance

/foundation/multimedia/player_framework/services/engine/gstreamer/player/
Dplayer_sinkprovider.cpp255 char *textFrame = new (std::nothrow) char[gstBufferSize + 1]; in HandleSubtitleBuffer() local
256 (void)memcpy_s(textFrame, gstBufferSize + 1, mapInfo.data, gstBufferSize); in HandleSubtitleBuffer()
257 textFrame[gstBufferSize] = static_cast<char>(0); in HandleSubtitleBuffer()
258 (void)subtitle.PutStringValue(PlayerKeys::SUBTITLE_TEXT, std::string_view(textFrame)); in HandleSubtitleBuffer()
259 MEDIA_LOGD("text = %{public}s", textFrame); in HandleSubtitleBuffer()
260 delete[] textFrame; in HandleSubtitleBuffer()