summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/plugins/common/include/IDrmEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'drm/libdrmframework/plugins/common/include/IDrmEngine.h')
-rw-r--r--drm/libdrmframework/plugins/common/include/IDrmEngine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drm/libdrmframework/plugins/common/include/IDrmEngine.h b/drm/libdrmframework/plugins/common/include/IDrmEngine.h
index 60f4c1b..acc8ed9 100644
--- a/drm/libdrmframework/plugins/common/include/IDrmEngine.h
+++ b/drm/libdrmframework/plugins/common/include/IDrmEngine.h
@@ -165,11 +165,12 @@ public:
* Retrieves the mime type embedded inside the original content
*
* @param[in] uniqueId Unique identifier for a session
- * @param[in] path Path of the protected content
+ * @param[in] path Path of the content or null.
+ * @param[in] fd File descriptor of the protected content
* @return String8
* Returns mime-type of the original content, such as "video/mpeg"
*/
- virtual String8 getOriginalMimeType(int uniqueId, const String8& path) = 0;
+ virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0;
/**
* Retrieves the type of the protected object (content, rights, etc..)