commit | 78d362a46d36397a16875bc252dfd21faaf5b2be | [log] [tgz] |
---|---|---|
author | Naveen Kumar Ponnusamy <naveenkumar.p@ittiam.com> | Wed Dec 16 18:10:47 2020 -0800 |
committer | hkuang <hkuang@google.com> | Wed Dec 23 16:47:22 2020 -0800 |
tree | b50e1f4a45a39416579cd6de7405bc7e3764d4c6 | |
parent | bf4b9ee019ea3e51a54b095e25269e90c46a3bfd [diff] |
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