libavformat/srtenc.c File Reference

#include "avformat.h"
#include "internal.h"
#include "libavutil/log.h"

Go to the source code of this file.

Data Structures

struct  SRTContext

Functions

static int srt_write_header (AVFormatContext *avf)
static int srt_write_packet (AVFormatContext *avf, AVPacket *pkt)

Variables

AVOutputFormat ff_srt_muxer


Function Documentation

static int srt_write_header ( AVFormatContext avf  )  [static]

Definition at line 36 of file srtenc.c.

static int srt_write_packet ( AVFormatContext avf,
AVPacket pkt 
) [static]

Definition at line 56 of file srtenc.c.


Variable Documentation

Initial value:

 {
    .name           = "srt",
    .long_name      = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
    .mime_type      = "application/x-subrip",
    .extensions     = "srt",
    .priv_data_size = sizeof(SRTContext),
    .write_header   = srt_write_header,
    .write_packet   = srt_write_packet,
    .flags          = AVFMT_VARIABLE_FPS,
    .subtitle_codec = AV_CODEC_ID_TEXT,
}

Definition at line 91 of file srtenc.c.


Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8