From 3e265ca58f0505470186dce300ab66a6eac3978e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 27 May 2016 12:04:29 +0200 Subject: avconv: do packet ts rescaling in write_packet() This will be useful in the following commit, after which the muxer timebase is not always available when encoding. --- avconv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 03e851d1c7..cb089e41f1 100644 --- a/avconv.h +++ b/avconv.h @@ -355,6 +355,8 @@ typedef struct OutputStream { int64_t first_pts; /* dts of the last packet sent to the muxer */ int64_t last_mux_dts; + // the timebase of the packets sent to the muxer + AVRational mux_timebase; int nb_bitstream_filters; const AVBitStreamFilter **bitstream_filters; -- cgit v1.2.3