pub fn empty_subtitle_frame() -> SubtitleFrame<SubtitleFrameExtra, FfmpegBuffer>Expand description
Constructs an empty mediadecode::frame::SubtitleFrame suitable
as the destination argument to
mediadecode::decoder::SubtitleDecoder::receive_frame. The
payload is an empty Text placeholder; the decoder overwrites
it on success.
§Panics
Panics on FFmpeg-side OOM. See try_empty_subtitle_frame for
the fallible variant.