From 53b4bc2c7bef5e3106734d237b5dd9b91c6381ae Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Thu, 9 Dec 2021 15:27:53 +0900 Subject: [PATCH] increase 'probesize' to 50000 [Problem] - For '65265_VID_H264_HP_1280P_120fps_MP3_48kHz_2ch.mpg' and '65270_VID_H264_HP_1920P_120fps_MP3_48kHz_2ch.mpg', libmm-fileinfo can't get the stream information such as width, height. [Cause] - The reduced 'probesize' affects the number of packets. So a few packets are detected and they don't have stream information. [Solution] - We increase 'probesize' to 50000. It can get the stream information for these contents. Also it does not occur crash for the previous tested contents([8K]Frame-Counter Video8K_50FPS_10sec.mp4). Change-Id: I205f599d5e5e747b16cb4dedb3c66ee6ed182f58 --- mm_file_config.ini | 2 +- packaging/libmm-fileinfo.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm_file_config.ini b/mm_file_config.ini index bd52884..5906563 100644 --- a/mm_file_config.ini +++ b/mm_file_config.ini @@ -7,4 +7,4 @@ [mm-file-config] junk_counter_limit=1000 max_analyze_duration=100000 -probesize=1000 +probesize=50000 diff --git a/packaging/libmm-fileinfo.spec b/packaging/libmm-fileinfo.spec index 7d20629..7f383da 100644 --- a/packaging/libmm-fileinfo.spec +++ b/packaging/libmm-fileinfo.spec @@ -1,6 +1,6 @@ Name: libmm-fileinfo Summary: Media Fileinfo -Version: 1.0.6 +Version: 1.0.7 Release: 0 Group: System/Libraries License: Apache-2.0 -- 2.7.4