Commit 39f437a9 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: mp4: add "Leaf" mode demuxer

Adds a data order driven demuxer instead of trying
to rearrange seek order. Re-enables fragmented
files if fast-seekable.
parent 9b0c6e6b
......@@ -1380,6 +1380,17 @@ typedef struct
void *p_drms;
MP4_Box_t *p_skcr;
mtime_t i_time;
struct
{
/* for moof parsing */
MP4_Box_t *p_traf;
MP4_Box_t *p_tfhd;
MP4_Box_t *p_trun;
uint64_t i_traf_base_offset;
} context;
} mp4_track_t;
static inline size_t mp4_box_headersize( MP4_Box_t *p_box )
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment