FFmpeg
Variables
webvttdec.c File Reference

WebVTT subtitle decoder. More...

#include "avcodec.h"
#include "ass.h"
#include "libavutil/bprint.h"

Variables

AVCodec ff_webvtt_decoder
 

Detailed Description

WebVTT subtitle decoder.

See also
http://dev.w3.org/html5/webvtt/
Todo:
need to support extended markups and cue settings

Variable Documentation

§ ff_webvtt_decoder

AVCodec ff_webvtt_decoder
Initial value:
= {
.name = "webvtt",
.long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
.id = AV_CODEC_ID_WEBVTT,
.decode = webvtt_decode_frame,
.init = ff_ass_subtitle_header_default,
.flush = ff_ass_decoder_flush,
.priv_data_size = sizeof(FFASSDecoderContext),
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: ass.h:46