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

Commit bb5db3c6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "MediaCodec: Update cached buffers in async mode"

parents fdfb2ecf 73b10ebb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -401,6 +401,9 @@ final public class MediaCodec {

                case CB_OUTPUT_FORMAT_CHANGE:
                {
                    synchronized(mBufferLock) {
                        cacheBuffers(false /* input */);
                    }
                    mCallback.onOutputFormatChanged(mCodec,
                            new MediaFormat((Map<String, Object>) msg.obj));
                    break;