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/mp4/MP4Source.cpp b/media/libmediaplayerservice/nuplayer/mp4/MP4Source.cpp index a62d5a2..d659b73 100644 --- a/media/libmediaplayerservice/nuplayer/mp4/MP4Source.cpp +++ b/media/libmediaplayerservice/nuplayer/mp4/MP4Source.cpp
@@ -104,8 +104,10 @@ DISALLOW_EVIL_CONSTRUCTORS(StreamSource); }; -MP4Source::MP4Source(const sp<IStreamSource> &source) - : mSource(source), +MP4Source::MP4Source( + const sp<AMessage> ¬ify, const sp<IStreamSource> &source) + : Source(notify), + mSource(source), mLooper(new ALooper), mParser(new FragmentedMP4Parser), mEOS(false) {