increase 'probesize' to 50000 15/267715/4 accepted/tizen/unified/20211210.115151 submit/tizen/20211209.083928
authorJiyong Min <jiyong.min@samsung.com>
Thu, 9 Dec 2021 06:27:53 +0000 (15:27 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Thu, 9 Dec 2021 07:16:23 +0000 (16:16 +0900)
[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
packaging/libmm-fileinfo.spec

index bd52884..5906563 100644 (file)
@@ -7,4 +7,4 @@
 [mm-file-config]
 junk_counter_limit=1000
 max_analyze_duration=100000
-probesize=1000
+probesize=50000
index 7d20629..7f383da 100644 (file)
@@ -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