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

Commit b518cf9d authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

am e395f645: Poll input data with a small timeout and don\'t consume a full core.

* commit 'e395f645aa4c30a4fad8beb3da6f8fad72338617':
  Poll input data with a small timeout and don't consume a full core.
parents fd57665e 1183a4ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -282,7 +282,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {

                if (err == -EWOULDBLOCK) {
                    if (mSource->feedMoreTSData() == OK) {
                        msg->post();
                        msg->post(10000ll);
                    }
                }
            } else if (what == ACodec::kWhatEOS) {