Skip to content

Commit fa78fe0

Browse files
theandi666Android (Google) Code Review
authored andcommitted
Merge "Make sure the ThrottledSource reports the proper mime type"
2 parents a6885fa + efbeb9b commit fa78fe0

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)