diff options
author | Andreas Huber <andih@google.com> | 2013-02-06 10:44:39 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-02-06 10:44:39 -0800 |
commit | 0df36ec3303c2c6bf9b42c07945ac8bd234153f3 (patch) | |
tree | 558d8e8d18ce64e84114d3b3d53209c0b4e27693 /cmds | |
parent | ec0c597cabf169ca646bcea5faac1bd81ed4484d (diff) | |
download | frameworks_av-0df36ec3303c2c6bf9b42c07945ac8bd234153f3.zip frameworks_av-0df36ec3303c2c6bf9b42c07945ac8bd234153f3.tar.gz frameworks_av-0df36ec3303c2c6bf9b42c07945ac8bd234153f3.tar.bz2 |
HLS now properly publishes its "seekable" flags after connection
has successfully completed and a sufficient amount of data fetched,
and only then signals that preparation is completed.
Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 2b935ed..2aae64d 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -30,6 +30,7 @@ #include <binder/ProcessState.h> #include <media/IMediaPlayerService.h> #include <media/stagefright/foundation/ALooper.h> +#include <media/stagefright/foundation/AMessage.h> #include "include/LiveSession.h" #include "include/NuCachedSource2.h" #include <media/stagefright/AudioPlayer.h> @@ -1004,7 +1005,7 @@ int main(int argc, char **argv) { looper = new ALooper; looper->start(); } - liveSession = new LiveSession; + liveSession = new LiveSession(NULL /* notify */); looper->registerHandler(liveSession); liveSession->connect(uri.string()); |