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

Skip to content
Commit 78d362a4 authored by Naveen Kumar Ponnusamy's avatar Naveen Kumar Ponnusamy Committed by hkuang
Browse files

transcoder: Move create callback into benchmark state loop

When the google benchmark iterator loop executes
more than once, using the same callback results
in abort. This is reproducible when the transcoding
operation is of the order of 100s of milliseconds
and so the benchmark attempts to run more
iterations. To fix the issue, moved creating
callback into benchmark state loop.

Bug: 175889103
Test: ./MediaTranscoderBenchmark

Change-Id: I20a435a93ed8ccb3c8fd3d27053b20b54d9d6e26
parent bf4b9ee0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment