From 9da0e39852fa88ab4d084b65ab5544fdd43b1eaa Mon Sep 17 00:00:00 2001 From: Ihor Ivlev Date: Fri, 29 Nov 2024 22:40:40 +0100 Subject: [PATCH] MINOR: Adjust decoder timeout (#28) --- app/videonative/src/main/cpp/VideoDecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/videonative/src/main/cpp/VideoDecoder.h b/app/videonative/src/main/cpp/VideoDecoder.h index c90bdee..34fd92a 100644 --- a/app/videonative/src/main/cpp/VideoDecoder.h +++ b/app/videonative/src/main/cpp/VideoDecoder.h @@ -133,7 +133,7 @@ class VideoDecoder { static constexpr const bool PRINT_DEBUG_INFO = true; static constexpr auto TIME_BETWEEN_LOGS = std::chrono::seconds(5); static constexpr int64_t BUFFER_TIMEOUT_US = - 35 * 1000; //40ms (a little bit more than 32 ms (==30 fps)) + 17 * 1000; // 17ms (a little bit more than 17 ms (==60 fps)) private: KeyFrameFinder mKeyFrameFinder; bool IS_H265 = false;