summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>2014-07-01 14:17:56 +0900
committerMartin Storsjö <martin@martin.st>2014-07-01 14:36:06 +0300
commit20f95f21f9b9595608ba668a6eca78f2d508be67 (patch)
treead1636052808bfce2143b5c4a7625891291b3002 /libavformat/isom.h
parent79793f833784121d574454af4871866576c0749d (diff)
mov: Support default-base-is-moof.
default-base-is-moof shall be set to track fragments compatible with DASH Media Segments. So, this is a fundamental support for ISOBMFF ver. DASH. This is meaningful only when base-data-offset-present is absent and two or more track fragments are present in a movie fragment. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index b2d5574170..70064bc176 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -73,6 +73,7 @@ typedef struct MOVFragment {
unsigned track_id;
uint64_t base_data_offset;
uint64_t moof_offset;
+ uint64_t implicit_offset;
unsigned stsd_id;
unsigned duration;
unsigned size;
@@ -174,6 +175,7 @@ void ff_mp4_parse_es_descr(AVIOContext *pb, int *es_id);
#define MOV_TFHD_DEFAULT_SIZE 0x10
#define MOV_TFHD_DEFAULT_FLAGS 0x20
#define MOV_TFHD_DURATION_IS_EMPTY 0x010000
+#define MOV_TFHD_DEFAULT_BASE_IS_MOOF 0x020000
#define MOV_TRUN_DATA_OFFSET 0x01
#define MOV_TRUN_FIRST_SAMPLE_FLAGS 0x04