From d6ae59c32de05ce6a01d3e2d57de357519b9786d Mon Sep 17 00:00:00 2001 From: "luke.lin" Date: Wed, 7 Aug 2019 11:42:21 +0900 Subject: [PATCH] qtdemux: enlarge the maximal atom size For 8K content, frame size is over 25MB, and cause the negotiation failure. Enlarge the limitation of QTDEMUX_MAX_ATOM_SIZE to 32MB. --- gst/isomp4/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 6112f20acd..ae2d02f21c 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -80,7 +80,7 @@ #endif /* max. size considered 'sane' for non-mdat atoms */ -#define QTDEMUX_MAX_ATOM_SIZE (25*1024*1024) +#define QTDEMUX_MAX_ATOM_SIZE (32*1024*1024) /* if the sample index is larger than this, something is likely wrong */ #define QTDEMUX_MAX_SAMPLE_INDEX_SIZE (200*1024*1024)