summaryrefslogtreecommitdiff
path: root/libavformat/movenc.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-10-04 12:04:17 -0300
committerJames Almer <jamrial@gmail.com>2020-01-15 23:34:20 -0300
commit7abc0979e6c64fae799ce3345026e6ba595c4a34 (patch)
tree100bc982af3c931a318d0fede4731351f44db83f /libavformat/movenc.h
parent4e4ac2034048271d280235860240c795dabeed99 (diff)
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.h1
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 {