MPL2 subtitles decoder.
More...
Go to the source code of this file.
◆ mpl2_event_to_ass()
| static int mpl2_event_to_ass |
( |
AVBPrint * | buf, |
|
|
const char * | p ) |
|
static |
◆ mpl2_decode_frame()
◆ ff_mpl2_decoder
Initial value:= {
.p.name = "mpl2",
}
av_cold void ff_ass_decoder_flush(AVCodecContext *avctx)
Helper to flush a text subtitles decoder making use of the FFASSDecoderContext.
int ff_ass_subtitle_header_default(AVCodecContext *avctx)
Generate a suitable AVCodecContext.subtitle_header for SUBTITLE_ASS with default style.
#define CODEC_LONG_NAME(str)
#define FF_CODEC_DECODE_SUB_CB(func)
static int mpl2_decode_frame(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt)
Definition at line 84 of file mpl2dec.c.