FFmpeg
|
WebVTT subtitle demuxer. More...
#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavutil/bprint.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Data Structures | |
struct | WebVTTContext |
Macros | |
#define | SET_SIDE_DATA(name, type) |
#define | OFFSET(x) offsetof(WebVTTContext, x) |
#define | KIND_FLAGS AV_OPT_FLAG_SUBTITLE_PARAM |
Functions | |
static int | webvtt_probe (AVProbeData *p) |
static int64_t | read_ts (const char *s) |
static int | webvtt_read_header (AVFormatContext *s) |
static int | webvtt_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | webvtt_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
static int | webvtt_read_close (AVFormatContext *s) |
Variables | |
static const AVOption | options [] |
static const AVClass | webvtt_demuxer_class |
AVInputFormat | ff_webvtt_demuxer |
Referenced by webvtt_read_header().
#define OFFSET | ( | x | ) | offsetof(WebVTTContext, x) |
Definition at line 193 of file webvttdec.c.
#define KIND_FLAGS AV_OPT_FLAG_SUBTITLE_PARAM |
Definition at line 194 of file webvttdec.c.
|
static |
Definition at line 40 of file webvttdec.c.
|
static |
Definition at line 52 of file webvttdec.c.
Referenced by webvtt_read_header().
|
static |
Definition at line 60 of file webvttdec.c.
|
static |
Definition at line 172 of file webvttdec.c.
|
static |
Definition at line 178 of file webvttdec.c.
|
static |
Definition at line 186 of file webvttdec.c.
|
static |
Definition at line 196 of file webvttdec.c.
|
static |
Definition at line 205 of file webvttdec.c.
AVInputFormat ff_webvtt_demuxer |
Definition at line 212 of file webvttdec.c.