FFmpeg
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

const 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

const 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,
}

Definition at line 43 of file mkvtimestamp_v2.c.

AV_CODEC_ID_RAWVIDEO
@ AV_CODEC_ID_RAWVIDEO
Definition: codec_id.h:63
write_packet
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mkvtimestamp_v2.c:33
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
write_header
static int write_header(AVFormatContext *s)
Definition: mkvtimestamp_v2.c:25