From: hj kim Date: Thu, 28 Feb 2019 02:12:11 +0000 (+0900) Subject: Increase _RETRY_SEARCH_LIMIT to 250. some contents need search count this much X-Git-Tag: accepted/tizen/unified/20190307.231009~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d95acd722ac428e7d03ff4c1904e75cb14f0fd1;p=platform%2Fcore%2Fmultimedia%2Flibmm-fileinfo.git Increase _RETRY_SEARCH_LIMIT to 250. some contents need search count this much Change-Id: I6825cea3e9a0a2a895b2e13af78940889c602744 --- diff --git a/formats/ffmpeg/mm_file_format_ffmpeg.c b/formats/ffmpeg/mm_file_format_ffmpeg.c index 3596415..06d6939 100755 --- a/formats/ffmpeg/mm_file_format_ffmpeg.c +++ b/formats/ffmpeg/mm_file_format_ffmpeg.c @@ -1080,7 +1080,7 @@ static int _get_first_good_video_frame(AVFormatContext *pFormatCtx, AVCodecConte int key_search_limit = 0; int frame_search_limit = 0; -#define _RETRY_SEARCH_LIMIT 75 +#define _RETRY_SEARCH_LIMIT 250 #define _KEY_SEARCH_LIMIT (_RETRY_SEARCH_LIMIT*2) /*2 = 1 read. some frame need to read one more*/ #define _FRAME_SEARCH_LIMIT 500