#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"
Go to the source code of this file.
Data Structures | |
| struct | WebVTTContext |
Functions | |
| static int | webvtt_probe (AVProbeData *p) |
| static int64_t | read_ts (const char *s) |
| static int64_t | extract_cue (AVBPrint *buf, AVIOContext *pb) |
| static int | webvtt_read_header (AVFormatContext *s) |
| static int | webvtt_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | webvtt_read_close (AVFormatContext *s) |
Variables | |
| AVInputFormat | ff_webvtt_demuxer |
Definition in file webvttdec.c.
| static int64_t extract_cue | ( | AVBPrint * | buf, | |
| AVIOContext * | pb | |||
| ) | [static] |
| static int64_t read_ts | ( | const char * | s | ) | [static] |
Definition at line 49 of file webvttdec.c.
| static int webvtt_probe | ( | AVProbeData * | p | ) | [static] |
Definition at line 37 of file webvttdec.c.
| static int webvtt_read_close | ( | AVFormatContext * | s | ) | [static] |
Definition at line 171 of file webvttdec.c.
| static int webvtt_read_header | ( | AVFormatContext * | s | ) | [static] |
Definition at line 80 of file webvttdec.c.
| static int webvtt_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
Definition at line 165 of file webvttdec.c.
Initial value:
{
.name = "webvtt",
.long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
.priv_data_size = sizeof(WebVTTContext),
.read_probe = webvtt_probe,
.read_header = webvtt_read_header,
.read_packet = webvtt_read_packet,
.read_close = webvtt_read_close,
.flags = AVFMT_GENERIC_INDEX,
.extensions = "vtt",
}
Definition at line 178 of file webvttdec.c.
1.5.8