summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-08-12 21:28:08 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-09-11 23:17:31 +0200
commitcb114ed464069ac83f05a4ebdfe992e8f1549815 (patch)
tree380e2c4845b1f7ddf4d35d4d26670373a2d3cfa5 /libavformat/internal.h
parent09317e3e06d7126337c2311ecf8bb7762369c110 (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/internal.h')
-rw-r--r--libavformat/internal.h5
1 files changed, 5 insertions, 0 deletions
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 {