Skip to content

Commit 32b5a7e

Browse files
Dave BurkeAndroid (Google) Code Review
authored andcommitted
Merge "DO NOT MERGE Poll input data with a small timeout and don't consume a full core." into ics-mr0
2 parents 3d70845 + efa4015 commit 32b5a7e

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)