commit | c92fd24c10a6bf80b346d7e261325434d9c6964b | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 13:48:44 2011 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Aug 16 13:48:44 2011 -0700 |
tree | 073315512c82b4a50de81e1fdfcb5b35db0ad1a1 | |
parent | a5cc7cce9b8aee73b08f6532710e186c02fdd1c0 [diff] [blame] |
Error handling in ACodec and Nuplayer. Codec errors (and codec not found errors) now trigger a controlled shutdown of playback and signal errors to the MediaPlayer client. Change-Id: I2ee23ff2a1422d05a1a21e50ecb87d7c7ab958cc
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerRenderer.h b/media/libmediaplayerservice/nuplayer/NuPlayerRenderer.h index 703e971..2713031 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerRenderer.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerRenderer.h
@@ -111,7 +111,7 @@ void onPause(); void onResume(); - void notifyEOS(bool audio); + void notifyEOS(bool audio, status_t finalResult); void notifyFlushComplete(bool audio); void notifyPosition();