Merge "Let getOriginalMimeType() take a fd passed from Java applications" into jb-mr1-dev
This commit is contained in:
@@ -41,7 +41,7 @@ protected:
|
||||
|
||||
DrmInfo* onAcquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInfoRequest);
|
||||
|
||||
String8 onGetOriginalMimeType(int uniqueId, const String8& path);
|
||||
String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd);
|
||||
|
||||
int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType);
|
||||
|
||||
|
||||
@@ -542,7 +542,7 @@ bool WVMDrmPlugin::onCanHandle(int uniqueId, const String8& path) {
|
||||
* @return String8
|
||||
* Returns mime-type of the original content, such as "video/mpeg"
|
||||
*/
|
||||
String8 WVMDrmPlugin::onGetOriginalMimeType(int uniqueId, const String8& path) {
|
||||
String8 WVMDrmPlugin::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) {
|
||||
//ALOGD("WVMDrmPlugin::onGetOriginalMimeType() : %d", uniqueId);
|
||||
return String8("video/wvm");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user