Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 737fedb9 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

libstagefright: Increase retry count in Frame Decoder

Bug: 167162080
Test: Gallery decodes files in the bug
Test: atest android.media.cts.HeifWriterTest

Change-Id: Ic0579ed7e2418ee9a8ac8d16cf14c9bca45c272b
parent 3fb5f496
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@
namespace android {

static const int64_t kBufferTimeOutUs = 10000LL; // 10 msec
static const size_t kRetryCount = 50; // must be >0
static const size_t kRetryCount = 100; // must be >0
static const int64_t kDefaultSampleDurationUs = 33333LL; // 33ms

sp<IMemory> allocVideoFrame(const sp<MetaData>& trackMeta,