diff options
author | Andreas Huber <andih@google.com> | 2010-05-06 10:18:05 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-05-06 10:31:57 -0700 |
commit | acdd9d0f59c3d8bdc3de80664a609527ec3d21e2 (patch) | |
tree | e75291b6c434b508d278b7f7ccb000863ca1f9df /media/libstagefright/include/AwesomePlayer.h | |
parent | 3cf4e43cdd391502690c07e08e805aa8ff5db0c0 (diff) | |
download | frameworks_av-acdd9d0f59c3d8bdc3de80664a609527ec3d21e2.zip frameworks_av-acdd9d0f59c3d8bdc3de80664a609527ec3d21e2.tar.gz frameworks_av-acdd9d0f59c3d8bdc3de80664a609527ec3d21e2.tar.bz2 |
Disable vorbis seek when streaming from localhost.
Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f
related-to-bug: 2654400
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index 9e8a674..9455743 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -84,10 +84,13 @@ struct AwesomePlayer { status_t suspend(); status_t resume(); + // This is a mask of MediaExtractor::Flags. + uint32_t flags() const; + private: friend struct AwesomeEvent; - enum Flags { + enum { PLAYING = 1, LOOPING = 2, FIRST_FRAME = 4, @@ -126,6 +129,7 @@ private: int64_t mDurationUs; uint32_t mFlags; + uint32_t mExtractorFlags; int32_t mVideoWidth, mVideoHeight; int64_t mTimeSourceDeltaUs; |