diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-18 22:55:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-21 16:47:38 +0100 |
commit | c24ee7c275b6374b4b6ef4030e93d416a9c2265f (patch) | |
tree | f18f74da636a6b6a4b09e6ed247dc68a3580c6b0 /libavformat/avformat.h | |
parent | c602deb138562a2a7ff9e2c05d9ba9b1fb76668c (diff) |
avformat/mux: Peek into the muxing queue for avoid_negative_ts
Peeking into the muxing queue can improve the estimate of
the lowest timestamp needed for avoid_negative_ts in case
the lowest timestamp is in a packet other than the first packet
to be muxed.
This fixes tickets #4536 and #5784 as well as the output from
the matroska-avoid-negative-ts FATE-test.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index cd253fb28e..b4b8075ae6 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1527,7 +1527,7 @@ typedef struct AVFormatContext { /** * Avoid negative timestamps during muxing. * Any value of the AVFMT_AVOID_NEG_TS_* constants. - * Note, this only works when using av_interleaved_write_frame. (interleave_packet_per_dts is in use) + * Note, this works better when using av_interleaved_write_frame(). * - muxing: Set by user * - demuxing: unused */ |