WebVTT subtitle demuxer.
More...
Go to the source code of this file.
WebVTT subtitle demuxer.
- See also
- http://dev.w3.org/html5/webvtt/
Definition in file webvttdec.c.
◆ SET_SIDE_DATA
Value: do { \
if (!buf) { \
goto end; \
} \
} \
} while (0)
uint8_t * av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, buffer_size_t size)
static float sub(float src0, float src1)
◆ OFFSET
◆ KIND_FLAGS
◆ webvtt_probe()
◆ read_ts()
static int64_t read_ts |
( |
const char * |
s | ) |
|
|
static |
◆ webvtt_read_header()
◆ webvtt_read_packet()
◆ webvtt_read_seek()
static int webvtt_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ webvtt_read_close()
◆ options
◆ webvtt_demuxer_class
Initial value:= {
.class_name = "WebVTT demuxer",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 206 of file webvttdec.c.
◆ ff_webvtt_demuxer
Initial value:= {
.name = "webvtt",
.extensions = "vtt",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int read_close(AVFormatContext *ctx)
Definition at line 213 of file webvttdec.c.