FFmpeg
|
libavformat/srtenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/intreadwrite.h"
Include dependency graph for libavformat/srtenc.c:
Go to the source code of this file.
Data Structures | |
struct | SRTContext |
Typedefs | |
typedef struct SRTContext | SRTContext |
Functions | |
static int | srt_write_header (AVFormatContext *avf) |
static int | srt_write_packet (AVFormatContext *avf, AVPacket *pkt) |
Variables | |
AVOutputFormat | ff_srt_muxer |
Typedef Documentation
typedef struct SRTContext SRTContext |
Function Documentation
|
static |
Definition at line 37 of file libavformat/srtenc.c.
|
static |
Definition at line 60 of file libavformat/srtenc.c.
Variable Documentation
AVOutputFormat ff_srt_muxer |
Initial value:
= {
.name = "srt",
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
.mime_type = "application/x-subrip",
.extensions = "srt",
.priv_data_size = sizeof(SRTContext),
.subtitle_codec = AV_CODEC_ID_SUBRIP,
}
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/assenc.c:63
static int srt_write_header(AVFormatContext *avf)
Definition: libavformat/srtenc.c:37
#define AVFMT_TS_NONSTRICT
Format does not require strictly increasing timestamps, but they must still be monotonic.
Definition: avformat.h:363
struct SRTContext SRTContext
static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: libavformat/srtenc.c:60
Definition: libavcodec/avcodec.h:472
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition at line 105 of file libavformat/srtenc.c.
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11