diff options
author | Erkki Seppälä <erkki.seppala.ext@nokia.com> | 2016-08-31 14:35:44 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-01 14:56:10 +0200 |
commit | 499e8b0952b2888e2defda7a2c9914dcdf1cfa8d (patch) | |
tree | 56c2dc48b8fa47c99a590966970b7caae5a1429e /libavformat/movenc.h | |
parent | aabe12eba3758d6f393ba754a54307d5c705084c (diff) | |
download | ffmpeg-499e8b0952b2888e2defda7a2c9914dcdf1cfa8d.tar.gz |
avformat/movenc: added ability to use original stream ids as track ids instead of regenerating them
Sometimes it's useful to be able to define the exact track numbers in
the generated track, instead of always beginning at track id 1. Using
the option use_stream_ids_as_track_ids now copies the use stream ids
to track ids. Dynamically generated tracks (ie. tmcd) have their track
numbers defined as continuing from the highest numbered stream id.
Signed-off-by: Erkki Seppälä <erkki.seppala.ext@nokia.com>
Signed-off-by: OZOPlayer <OZOPL@nokia.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 894a1b0bcf..ea76e39f23 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -217,6 +217,8 @@ typedef struct MOVMuxContext { int need_rewrite_extradata; + int use_stream_ids_as_track_ids; + int track_ids_ok; } MOVMuxContext; #define FF_MOV_FLAG_RTP_HINT (1 << 0) |