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/avformat.h | |
parent | 09317e3e06d7126337c2311ecf8bb7762369c110 (diff) |
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/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 3ee705198c..74915a1482 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1448,6 +1448,7 @@ typedef struct AVFormatContext { #define AVFMT_FLAG_PRIV_OPT 0x20000 ///< Enable use of private options by delaying codec open (this could be made default once all code is converted) #define AVFMT_FLAG_KEEP_SIDE_DATA 0x40000 ///< Don't merge side data but keep it separate. #define AVFMT_FLAG_FAST_SEEK 0x80000 ///< Enable fast, but inaccurate seeks for some formats +#define AVFMT_FLAG_SHORTEST 0x100000 ///< Stop muxing when the shortest stream stops. /** * Maximum size of the data read from input for determining |