Merge "DO NOT MERGE Poll input data with a small timeout and don't consume a full core." into ics-mr0
This commit is contained in:
@@ -274,7 +274,7 @@ void NuPlayer::onMessageReceived(const sp<AMessage> &msg) {
|
|||||||
|
|
||||||
if (err == -EWOULDBLOCK) {
|
if (err == -EWOULDBLOCK) {
|
||||||
if (mSource->feedMoreTSData() == OK) {
|
if (mSource->feedMoreTSData() == OK) {
|
||||||
msg->post();
|
msg->post(10000ll);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (what == ACodec::kWhatEOS) {
|
} else if (what == ACodec::kWhatEOS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user