diff options
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/HTTPLiveSource.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/HTTPLiveSource.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h index f3f539a..a8ce7f4 100644 --- a/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h +++ b/media/libmediaplayerservice/nuplayer/HTTPLiveSource.h @@ -27,7 +27,11 @@ struct ATSParser; struct LiveSession; struct NuPlayer::HTTPLiveSource : public NuPlayer::Source { - HTTPLiveSource(const char *url); + enum Flags { + // Don't log any URLs. + kFlagIncognito = 1, + }; + HTTPLiveSource(const char *url, uint32_t flags = 0); virtual void start(); @@ -46,6 +50,7 @@ protected: private: AString mURL; + uint32_t mFlags; bool mEOS; off64_t mOffset; sp<ALooper> mLiveLooper; |