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

Commit ab43b2ce authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Use proper number of video buffers to be acquired simultaneously from" into jb-mr1-dev

parents b62f9514 8bcc1a1c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -785,8 +785,7 @@ status_t WifiDisplaySource::PlaybackSession::addVideoSource() {
    }

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

    mBufferQueue = source->getBufferQueue();