FFmpeg  4.0
Functions | Variables
mkvtimestamp_v2.c File Reference
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int write_header (AVFormatContext *s)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_mkvtimestamp_v2_muxer
 

Function Documentation

◆ write_header()

static int write_header ( AVFormatContext s)
static

Definition at line 25 of file mkvtimestamp_v2.c.

◆ write_packet()

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 33 of file mkvtimestamp_v2.c.

Variable Documentation

◆ ff_mkvtimestamp_v2_muxer

AVOutputFormat ff_mkvtimestamp_v2_muxer
Initial value:
= {
.name = "mkvtimestamp_v2",
.long_name = NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"),
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_header = write_header,
.write_packet = write_packet,
}
static int write_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int write_packet(AVFormatContext *s, AVPacket *pkt)

Definition at line 43 of file mkvtimestamp_v2.c.