commit | 5778822d86b0337407514b9372562b86edfa91cd | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Feb 21 11:47:18 2012 -0800 |
committer | Andreas Huber <andih@google.com> | Wed Feb 22 15:06:06 2012 -0800 |
tree | b8faf8188dfb8865bd88b4dfc778a7d9ab89bb73 | |
parent | c33305c5dd4cc06e71eb0c66a7150aa6ab647c99 [diff] [blame] |
Implementation of a java media codec interface and associated tools. Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp index b731d0f..04415cd 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.cpp +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.cpp
@@ -387,10 +387,10 @@ audio ? "audio" : "video"); mRenderer->queueEOS(audio, UNKNOWN_ERROR); - } else { - CHECK_EQ((int)what, (int)ACodec::kWhatDrainThisBuffer); - + } else if (what == ACodec::kWhatDrainThisBuffer) { renderBuffer(audio, codecRequest); + } else { + ALOGV("Unhandled codec notification %d.", what); } break;