libavformat/ffmetaenc.c File Reference

#include <inttypes.h>
#include "avformat.h"
#include "ffmeta.h"
#include "libavutil/dict.h"

Go to the source code of this file.

Functions

static void write_escape_str (AVIOContext *s, const uint8_t *str)
static void write_tags (AVIOContext *s, AVDictionary *m)
static int write_header (AVFormatContext *s)
static int write_trailer (AVFormatContext *s)
static int write_packet (AVFormatContext *s, AVPacket *pkt)

Variables

AVOutputFormat ff_ffmetadata_muxer


Function Documentation

static void write_escape_str ( AVIOContext s,
const uint8_t *  str 
) [static]

Definition at line 29 of file ffmetaenc.c.

Referenced by write_tags().

static int write_header ( AVFormatContext s  )  [static]

Definition at line 52 of file ffmetaenc.c.

static int write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 88 of file ffmetaenc.c.

static void write_tags ( AVIOContext s,
AVDictionary m 
) [static]

Definition at line 41 of file ffmetaenc.c.

Referenced by write_trailer().

static int write_trailer ( AVFormatContext s  )  [static]

Definition at line 61 of file ffmetaenc.c.


Variable Documentation

Initial value:

 {
    .name          = "ffmetadata",
    .long_name     = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"),
    .extensions    = "ffmeta",
    .write_header  = write_header,
    .write_packet  = write_packet,
    .write_trailer = write_trailer,
    .flags         = AVFMT_NOTIMESTAMPS | AVFMT_NOSTREAMS,
}

Definition at line 93 of file ffmetaenc.c.


Generated on Fri Oct 26 02:46:13 2012 for FFmpeg by  doxygen 1.5.8