#include "avcodec.h"
#include "ass.h"
#include "libavutil/bprint.h"
Go to the source code of this file.
Functions | |
| static int | webvtt_event_to_ass (AVBPrint *buf, const char *p) |
| static int | webvtt_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) |
Variables | |
| struct { | |
| const char * from | |
| const char * to | |
| } | webvtt_tag_replace [] |
| AVCodec | ff_webvtt_decoder |
Definition in file webvttdec.c.
| static int webvtt_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_sub_ptr, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 74 of file webvttdec.c.
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,
}
Definition at line 93 of file webvttdec.c.
| const char* from |
Definition at line 33 of file webvttdec.c.
| const char* to |
struct { ... } webvtt_tag_replace[] [static] |
Referenced by webvtt_event_to_ass().
1.5.8