diff options
author | Andreas Huber <andih@google.com> | 2012-01-19 14:17:49 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-01-19 14:17:49 -0800 |
commit | bd9c9a80fd487b3e83861c32b388eac146f8a299 (patch) | |
tree | 4adb463b60a3b74d19dcab75ae68c996529e2066 /media/libstagefright/include/ThrottledSource.h | |
parent | 27a0d83f53ddbfd6449ab0e3c786742a2cd135a9 (diff) | |
download | frameworks_av-bd9c9a80fd487b3e83861c32b388eac146f8a299.zip frameworks_av-bd9c9a80fd487b3e83861c32b388eac146f8a299.tar.gz frameworks_av-bd9c9a80fd487b3e83861c32b388eac146f8a299.tar.bz2 |
Make sure the ThrottledSource reports the proper mime type
of the underlying source.
Change-Id: I7cfd5c9f10d4b07781ed82fbdc9bf3db2e86cf84
Diffstat (limited to 'media/libstagefright/include/ThrottledSource.h')
-rw-r--r-- | media/libstagefright/include/ThrottledSource.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libstagefright/include/ThrottledSource.h b/media/libstagefright/include/ThrottledSource.h index 8928a4a..7fe7c06 100644 --- a/media/libstagefright/include/ThrottledSource.h +++ b/media/libstagefright/include/ThrottledSource.h @@ -35,6 +35,11 @@ struct ThrottledSource : public DataSource { virtual status_t getSize(off64_t *size); virtual uint32_t flags(); + virtual String8 getMIMEType() const { + return mSource->getMIMEType(); + } + + private: Mutex mLock; |