Increase _RETRY_SEARCH_LIMIT to 250. some contents need search count this much 66/200666/1
authorhj kim <backto.kim@samsung.com>
Thu, 28 Feb 2019 02:12:11 +0000 (11:12 +0900)
committerhj kim <backto.kim@samsung.com>
Thu, 28 Feb 2019 02:12:11 +0000 (11:12 +0900)
Change-Id: I6825cea3e9a0a2a895b2e13af78940889c602744

formats/ffmpeg/mm_file_format_ffmpeg.c

index 3596415..06d6939 100755 (executable)
@@ -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