From cb114ed464069ac83f05a4ebdfe992e8f1549815 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 12 Aug 2016 21:28:08 +0200 Subject: avformat/mux: implement AVFMT_FLAG_SHORTEST This will allow fixing several bugs with the -shortest option Signed-off-by: Michael Niedermayer --- libavformat/internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index f9278c5b9a..49244faf23 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -125,6 +125,11 @@ struct AVFormatInternal { */ int header_written; int write_header_ret; + + /** + * Timestamp of the end of the shortest stream. + */ + int64_t shortest_end; }; struct AVStreamInternal { -- cgit v1.2.3