summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-27 12:04:29 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-25 12:04:32 +0200
commit3e265ca58f0505470186dce300ab66a6eac3978e (patch)
treee3f9c5b8575575a1d50cfbfb0b8d08a413041dd8 /avconv.h
parent50722b4f0cbc5940e9e6e21d113888436cc89ff5 (diff)
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.
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h2
1 files changed, 2 insertions, 0 deletions
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;