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

Commit fd2e5008 authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix hang

b/10855561

Change-Id: I29b046b835ce0ca3644e5c2e8f9bca5c0b380d4b
parent 1b87107b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ status_t JMediaCodec::configure(
        int flags) {
    sp<Surface> client;
    if (bufferProducer != NULL) {
        mSurfaceTextureClient = new Surface(bufferProducer);
        mSurfaceTextureClient = new Surface(bufferProducer, true /* controlledByApp */);
    } else {
        mSurfaceTextureClient.clear();
    }