Skip to content

Commit 6d25e34

Browse files
theandi666The Android Automerger
authored andcommitted
DO NOT MERGE Poll input data with a small timeout and don't consume a full core.
Change-Id: I3c288698920fe6ead0df24a52330483609821a41 related-to-bug: 5549263
1 parent 287c1e6 commit 6d25e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libmediaplayerservice/nuplayer/NuPlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
274274

275275
if (err == -EWOULDBLOCK) {
276276
if (mSource->feedMoreTSData() == OK) {
277-
msg->post();
277+
msg->post(10000ll);
278278
}
279279
}
280280
} else if (what == ACodec::kWhatEOS) {

0 commit comments

Comments
 (0)