diff options
author | James Almer <jamrial@gmail.com> | 2019-10-04 12:04:17 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-01-15 23:34:20 -0300 |
commit | 7abc0979e6c64fae799ce3345026e6ba595c4a34 (patch) | |
tree | 100bc982af3c931a318d0fede4731351f44db83f /libavformat/movenc.h | |
parent | 4e4ac2034048271d280235860240c795dabeed99 (diff) | |
download | ffmpeg-7abc0979e6c64fae799ce3345026e6ba595c4a34.tar.gz |
avformat/movenc: use AVProducerReferenceTime side data to write the prft atom
If not available, set flags to 24 (bits 4 and 5), to signal the wallclock value
is read at the time of writing the atom.
Signed-off-by: James Almer <jamrial@gmail.com>
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 68d6f23a5a..a3c6467c67 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -56,6 +56,7 @@ typedef struct MOVIentry { #define MOV_PARTIAL_SYNC_SAMPLE 0x0002 #define MOV_DISPOSABLE_SAMPLE 0x0004 uint32_t flags; + AVProducerReferenceTime prft; } MOVIentry; typedef struct HintSample { |