Commit d30a1c37 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mfplat: Add MFCreateAMMediaTypeFromMFMediaType stub.

parent 59bbc61a
...@@ -3126,6 +3126,15 @@ static void media_type_get_ratio(IMFMediaType *media_type, const GUID *attr, DWO ...@@ -3126,6 +3126,15 @@ static void media_type_get_ratio(IMFMediaType *media_type, const GUID *attr, DWO
} }
/*********************************************************************** /***********************************************************************
* MFCreateAMMediaTypeFromMFMediaType (mfplat.@)
*/
HRESULT WINAPI MFCreateAMMediaTypeFromMFMediaType(IMFMediaType *media_type, GUID format, AM_MEDIA_TYPE **am_type)
{
FIXME("%p, %s, %p stub!\n", media_type, debugstr_mf_guid(&format), am_type);
return E_NOTIMPL;
}
/***********************************************************************
* MFCreateMFVideoFormatFromMFMediaType (mfplat.@) * MFCreateMFVideoFormatFromMFMediaType (mfplat.@)
*/ */
HRESULT WINAPI MFCreateMFVideoFormatFromMFMediaType(IMFMediaType *media_type, MFVIDEOFORMAT **video_format, UINT32 *size) HRESULT WINAPI MFCreateMFVideoFormatFromMFMediaType(IMFMediaType *media_type, MFVIDEOFORMAT **video_format, UINT32 *size)
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
@ stub MFConvertToFP16Array @ stub MFConvertToFP16Array
@ stdcall MFCopyImage(ptr long ptr long long long) @ stdcall MFCopyImage(ptr long ptr long long long)
@ stdcall MFCreate2DMediaBuffer(long long long long ptr) @ stdcall MFCreate2DMediaBuffer(long long long long ptr)
@ stub MFCreateAMMediaTypeFromMFMediaType @ stdcall MFCreateAMMediaTypeFromMFMediaType(ptr int128 ptr)
@ stdcall MFCreateAlignedMemoryBuffer(long long ptr) @ stdcall MFCreateAlignedMemoryBuffer(long long ptr)
@ stdcall MFCreateAsyncResult(ptr ptr ptr ptr) rtworkq.RtwqCreateAsyncResult @ stdcall MFCreateAsyncResult(ptr ptr ptr ptr) rtworkq.RtwqCreateAsyncResult
@ stdcall MFCreateAttributes(ptr long) @ stdcall MFCreateAttributes(ptr long)
......
...@@ -545,6 +545,7 @@ HRESULT WINAPI MFCreateMediaBufferFromMediaType(IMFMediaType *media_type, LONGLO ...@@ -545,6 +545,7 @@ HRESULT WINAPI MFCreateMediaBufferFromMediaType(IMFMediaType *media_type, LONGLO
HRESULT WINAPI MFCreateMediaEvent(MediaEventType type, REFGUID extended_type, HRESULT status, HRESULT WINAPI MFCreateMediaEvent(MediaEventType type, REFGUID extended_type, HRESULT status,
const PROPVARIANT *value, IMFMediaEvent **event); const PROPVARIANT *value, IMFMediaEvent **event);
HRESULT WINAPI MFCreateMediaType(IMFMediaType **type); HRESULT WINAPI MFCreateMediaType(IMFMediaType **type);
HRESULT WINAPI MFCreateAMMediaTypeFromMFMediaType(IMFMediaType *media_type, GUID format_type, AM_MEDIA_TYPE **am_type);
HRESULT WINAPI MFCreateMFVideoFormatFromMFMediaType(IMFMediaType *media_type, MFVIDEOFORMAT **video_format, UINT32 *size); HRESULT WINAPI MFCreateMFVideoFormatFromMFMediaType(IMFMediaType *media_type, MFVIDEOFORMAT **video_format, UINT32 *size);
HRESULT WINAPI MFCreateSample(IMFSample **sample); HRESULT WINAPI MFCreateSample(IMFSample **sample);
HRESULT WINAPI MFCreateTempFile(MF_FILE_ACCESSMODE accessmode, MF_FILE_OPENMODE openmode, MF_FILE_FLAGS flags, HRESULT WINAPI MFCreateTempFile(MF_FILE_ACCESSMODE accessmode, MF_FILE_OPENMODE openmode, MF_FILE_FLAGS flags,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment