[Cause]
The probesize limits the bytes of reading mpegts header.
The default value of probesize is 5,000,000 and it is too big.
So it took too long time to parse mpegts header.
[Solution]
We modified mpegts probesize to 50,000(ini config).
So reading mpegts header faster than before.
Change-Id: If09af32bfd3846ca71826cb364a5f1a1f4bcc8b6
if (formatContext->formatType == MM_FILE_FORMAT_M2TS)
pFormatCtx->max_analyze_duration = g_max_analyze_duration; // MPEGTS file timeout set
- else
- pFormatCtx->probesize = g_probesize; // the size of the data(packet) to probe stream information
+ pFormatCtx->probesize = g_probesize; // the size of the data(packet) to probe stream information
debug_msg(RELEASE, "max_analyze_duration: %"PRId64", probesize: %"PRId64"", pFormatCtx->max_analyze_duration, pFormatCtx->probesize);
Name: libmm-fileinfo
Summary: Media Fileinfo
-Version: 1.1.1
+Version: 1.1.2
Release: 0
Group: System/Libraries
License: Apache-2.0