[PATCH] include: Add IMFVideoSampleAllocatorEx.

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 29 10:03:11 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 include/mfidl.idl | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/include/mfidl.idl b/include/mfidl.idl
index 9f2d825bd5f..dd5de8d0d2f 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -1147,6 +1147,22 @@ interface IMFVideoSampleAllocatorCallback : IUnknown
     );
 }
 
+[
+    object,
+    uuid(545b3a48-3283-4f62-866f-a62d8f598f9f),
+    local,
+    pointer_default(unique)
+]
+interface IMFVideoSampleAllocatorEx : IMFVideoSampleAllocator
+{
+    HRESULT InitializeSampleAllocatorEx(
+        DWORD initial_sample_count,
+        DWORD max_sample_count,
+        IMFAttributes *attributes,
+        IMFMediaType *media_type
+    );
+}
+
 enum
 {
     MF_ACTIVATE_CUSTOM_MIXER_ALLOWFAIL = 0x00000001,
-- 
2.28.0




More information about the wine-devel mailing list