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

Commit 3b0ae053 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Benchmark: Fix handling of onError"

parents 4943e65b 75d2fb1e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -175,10 +175,10 @@ public class Encoder {

                @Override
                public void onError(@NonNull MediaCodec mediaCodec, @NonNull CodecException e) {
                    mediaCodec.stop();
                    mediaCodec.release();
                    mSignalledError = true;
                    Log.e(TAG, "Codec Error: " + e.toString());
                    e.printStackTrace();
                    synchronized (mLock) { mLock.notify(); }
                }

                @Override