pub fn subtitle_frame_from(
subtitle: &Subtitle,
time_base: Timebase,
) -> Result<SubtitleFrame<SubtitleFrameExtra, FfmpegBytes>, ConvertError>Expand description
Safe wrapper around av_subtitle_to_subtitle_frame taking a
borrowed ffmpeg::Subtitle.
Owned-lane, like its siblings — though a subtitle rect is copied on
both lanes anyway (AVSubtitleRect has no refcounted buffer), so
here the restriction costs a caller nothing at all.