27 static const char *
header =
"# timecode format v2\n";
38 snprintf(buf,
sizeof(buf),
"%" PRId64
"\n", pkt->
dts);
44 .
name =
"mkvtimestamp_v2",
45 .long_name =
NULL_IF_CONFIG_SMALL(
"extract pts as timecode v2 format, as defined by mkvtoolnix"),
static int write_header(AVFormatContext *s)
#define AV_LOG_WARNING
Something somehow does not look correct.
AVStream ** streams
A list of all streams in the file.
static const uint8_t header[24]
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVOutputFormat ff_mkvtimestamp_v2_muxer
AVIOContext * pb
I/O context.
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...
static int write_packet(AVFormatContext *s, AVPacket *pkt)
This structure stores compressed data.