commit | 5ab368af38fefacc4009e3ab1c1bbd00e62b3bcf | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Feb 05 10:14:26 2013 -0800 |
committer | Andreas Huber <andih@google.com> | Tue Feb 05 10:14:26 2013 -0800 |
tree | ca3c894a78eee86acb934a70ace03bad7efae1b8 | |
parent | c41c932328f35f5eed7e517e9b64db9144f2fcb0 [diff] [blame] |
Groundwork to support bidirectional, asynchronous communication between NuPlayer and its sources. Change-Id: I1989022d806206b926555add3aa5c1fcf37aa78d
diff --git a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp index 7159404..9b04833 100644 --- a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp +++ b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp
@@ -32,8 +32,11 @@ namespace android { -NuPlayer::StreamingSource::StreamingSource(const sp<IStreamSource> &source) - : mSource(source), +NuPlayer::StreamingSource::StreamingSource( + const sp<AMessage> ¬ify, + const sp<IStreamSource> &source) + : Source(notify), + mSource(source), mFinalResult(OK) { }