diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-12 21:28:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-11 23:17:31 +0200 |
commit | cb114ed464069ac83f05a4ebdfe992e8f1549815 (patch) | |
tree | 380e2c4845b1f7ddf4d35d4d26670373a2d3cfa5 /libavformat/internal.h | |
parent | 09317e3e06d7126337c2311ecf8bb7762369c110 (diff) | |
download | ffmpeg-streaming-cb114ed464069ac83f05a4ebdfe992e8f1549815.zip ffmpeg-streaming-cb114ed464069ac83f05a4ebdfe992e8f1549815.tar.gz |
avformat/mux: implement AVFMT_FLAG_SHORTEST
This will allow fixing several bugs with the -shortest option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index f9278c5..49244fa 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 { |