FFmpeg  1.2.4
Data Structures | Typedefs | Functions | Variables
srtenc.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"
#include "libavutil/intreadwrite.h"

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 int srt_write_header ( AVFormatContext avf)
static

Definition at line 37 of file srtenc.c.

static int srt_write_packet ( AVFormatContext avf,
AVPacket pkt 
)
static

Definition at line 60 of file 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,
}

Definition at line 106 of file srtenc.c.