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

Commit ef49e2fd authored by Jeff Brown's avatar Jeff Brown
Browse files

Revert max buffers change.

Attempting to use 31 buffers crashes on Prime.

Bug: 7131413
Change-Id: Ib85aef9b1da01f7243bd781a0efa47de2970412d
parent b019250d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ status_t WifiDisplaySource::PlaybackSession::setupPacketizer() {

    // Add one reference to account for the serializer.
    // Add another two for unknown reasons.
    err = source->setMaxAcquiredBufferCount(31 /* numInputBuffers + 1 */);
    err = source->setMaxAcquiredBufferCount(numInputBuffers + 2);
    CHECK_EQ(err, (status_t)OK);

    mBufferQueue = source->getBufferQueue();