Skip to content

Commit efbeb9b

Browse files
committed
Make sure the ThrottledSource reports the proper mime type
of the underlying source. Change-Id: I7cfd5c9f10d4b07781ed82fbdc9bf3db2e86cf84
1 parent 92ecdd6 commit efbeb9b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

media/libstagefright/include/ThrottledSource.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ struct ThrottledSource : public DataSource {
3535
virtual status_t getSize(off64_t *size);
3636
virtual uint32_t flags();
3737

38+
virtual String8 getMIMEType() const {
39+
return mSource->getMIMEType();
40+
}
41+
42+
3843
private:
3944
Mutex mLock;
4045

0 commit comments

Comments
 (0)