Skip to content

Commit 9da0e39

Browse files
authored
MINOR: Adjust decoder timeout (#28)
1 parent 1b6ae68 commit 9da0e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/videonative/src/main/cpp/VideoDecoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class VideoDecoder {
133133
static constexpr const bool PRINT_DEBUG_INFO = true;
134134
static constexpr auto TIME_BETWEEN_LOGS = std::chrono::seconds(5);
135135
static constexpr int64_t BUFFER_TIMEOUT_US =
136-
35 * 1000; //40ms (a little bit more than 32 ms (==30 fps))
136+
17 * 1000; // 17ms (a little bit more than 17 ms (==60 fps))
137137
private:
138138
KeyFrameFinder mKeyFrameFinder;
139139
bool IS_H265 = false;

0 commit comments

Comments
 (0)