Let getOriginalMimeType() take a fd passed from Java applications
This patch completes the change needed for widevine drm plugin. o related-to-bug: 6426185 Change-Id: Ib9897be6264506f1c96eecca8be1de016f3b0b86
This commit is contained in:
@@ -539,7 +539,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