diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/DataSource.h | 8 | ||||
-rw-r--r-- | include/media/stagefright/MediaExtractor.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/media/stagefright/DataSource.h b/include/media/stagefright/DataSource.h index f8787dd..3fb9e36 100644 --- a/include/media/stagefright/DataSource.h +++ b/include/media/stagefright/DataSource.h @@ -31,6 +31,7 @@ namespace android { struct AMessage; +struct AString; struct IMediaHTTPService; class String8; @@ -46,7 +47,8 @@ public: static sp<DataSource> CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, - const KeyedVector<String8, String8> *headers = NULL); + const KeyedVector<String8, String8> *headers = NULL, + AString *sniffedMIME = NULL); DataSource() {} @@ -100,6 +102,10 @@ protected: virtual ~DataSource() {} private: + enum { + kDefaultMetaSize = 200000, + }; + static Mutex gSnifferMutex; static List<SnifferFunc> gSniffers; static bool gSniffersRegistered; diff --git a/include/media/stagefright/MediaExtractor.h b/include/media/stagefright/MediaExtractor.h index 3076a96..183933a 100644 --- a/include/media/stagefright/MediaExtractor.h +++ b/include/media/stagefright/MediaExtractor.h @@ -65,6 +65,8 @@ public: virtual char* getDrmTrackInfo(size_t trackID, int *len) { return NULL; } + virtual void setUID(uid_t uid) { + } protected: MediaExtractor() : mIsDrm(false) {} |