diff options
author | Martin Storsjö <martin@martin.st> | 2015-01-20 15:33:12 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-03-10 10:41:06 +0200 |
commit | 448c8cfe4c53e9e806effd8505b46d57fa707061 (patch) | |
tree | fb30ebffaef0b4419abfee5a284ebfcecd4567ec /libavformat/movenc.h | |
parent | 0c5e380c2c266d2e8a13c000cc527529db837f10 (diff) | |
download | ffmpeg-448c8cfe4c53e9e806effd8505b46d57fa707061.tar.gz |
movenc: Support setting fragment_index before the moov atom is written
This way, the caller doesn't need to coordinate setting the option
after the moov atom has been written. The downside is that it is
no longer possible to use the option for checking whether the moov
atom already has been written, but a caller is able to keep track
of that by other means anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 3ac53059b4..f64efad689 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -155,6 +155,7 @@ typedef struct MOVMuxContext { int iods_video_profile; int iods_audio_profile; + int moov_written; int fragments; int max_fragment_duration; int min_fragment_duration; |