diff options
author | Jeff Tinker <jtinker@google.com> | 2012-02-14 14:54:01 -0800 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2012-02-14 14:54:01 -0800 |
commit | dce4161f7d4d39498f69591e876f5fecdde95833 (patch) | |
tree | ae6dde240574c4705b33972a715595281d154d49 /media/libstagefright/include | |
parent | 6dad4378f2a78d967defc8912ecf47f6ed117584 (diff) | |
download | frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.zip frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.tar.gz frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.tar.bz2 |
Fix videos app bandwidth accounting for 4G streaming
Register the app uid with the WV extractor so it can
attribute bandwidth usage to the proper process.
Multi-repository commit, also changes in vendor/widevine
Change-Id: I42395fd08bf0bfc7e224745f820a714400066456
related-to-bug: 5434244
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r-- | media/libstagefright/include/WVMExtractor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/WVMExtractor.h b/media/libstagefright/include/WVMExtractor.h index 9f763f9..3c3ca89 100644 --- a/media/libstagefright/include/WVMExtractor.h +++ b/media/libstagefright/include/WVMExtractor.h @@ -34,6 +34,7 @@ public: virtual int64_t getCachedDurationUs(status_t *finalStatus) = 0; virtual void setAdaptiveStreamingMode(bool adaptive) = 0; + virtual void setUID(uid_t uid) = 0; }; class WVMExtractor : public MediaExtractor { @@ -60,6 +61,8 @@ public: // is used. void setAdaptiveStreamingMode(bool adaptive); + void setUID(uid_t uid); + static bool getVendorLibHandle(); protected: |