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.
Value:
} \
} \
} while (0)
static av_cold int end(AVCodecContext *avctx)
uint8_t * av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size)
Allocate new information of a packet.
Referenced by webvtt_read_header().
static int64_t read_ts |
( |
const char * |
s | ) |
|
|
static |
static int webvtt_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:= {
{
"subtitles",
"WebVTT subtitles kind", 0,
AV_OPT_TYPE_CONST, { .i64 = 0 }, INT_MIN, INT_MAX, 0,
"webvtt_kind" },
}
Definition at line 197 of file webvttdec.c.
Initial value:= {
.class_name = "WebVTT demuxer",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
Definition at line 206 of file webvttdec.c.
Initial value:= {
.name = "webvtt",
.extensions = "vtt",
}
static av_cold int read_close(AVFormatContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition at line 213 of file webvttdec.c.