DO NOT MERGE Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263
This commit is contained in:
Andreas Huber
2011-11-03 11:00:21 -07:00
committed by The Android Automerger
parent 287c1e66fe
commit 6d25e3400c

View File

@@ -274,7 +274,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) {