qtdemux: enlarge the maximal atom size
authorluke.lin <luke.lin@realtek.com>
Wed, 7 Aug 2019 02:42:21 +0000 (11:42 +0900)
committerWEI CHENG LIN <luke.lin@realtek.com>
Wed, 7 Aug 2019 02:46:20 +0000 (02:46 +0000)
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

index 6112f20..ae2d02f 100644 (file)
@@ -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)