commit | efa4015ae3818cedeec7f4af65877a173b65d8e5 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Nov 03 11:00:21 2011 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Thu Nov 03 18:15:43 2011 -0700 |
tree | 7a52ec6f953431367c93e18eff8a4e7604fa80c9 | |
parent | 8c49b81b5971c3fd254c4ecd862d1a32b1917edb [diff] |
DO NOT MERGE Poll input data with a small timeout and don't consume a full core. Change-Id: I3c288698920fe6ead0df24a52330483609821a41 related-to-bug: 5549263
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp index 6b40528..6c54130 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
@@ -274,7 +274,7 @@ if (err == -EWOULDBLOCK) { if (mSource->feedMoreTSData() == OK) { - msg->post(); + msg->post(10000ll); } } } else if (what == ACodec::kWhatEOS) {