Skip to main content

subtitle_packet_from_ffmpeg_in

Function subtitle_packet_from_ffmpeg_in 

Source
pub fn subtitle_packet_from_ffmpeg_in(
    packet: &Packet,
    time_base: Timebase,
) -> Result<Option<SubtitlePacket<SubtitlePacketExtra, FfmpegBuffer>>, PacketBufferError>
Expand description

subtitle_packet_from_ffmpeg, with the stream’s timebase stamped onto every timestamp instead of the 1/1 placeholder.