Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit c98e362

Browse files
author
DESKTOP-5OA5OTK\myutw
committed
[MediaFoundation] Fixed CreateVideoSampleFromSurface
1 parent e17def2 commit c98e362

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Source/SharpDX.MediaFoundation/Mapping-core.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@
898898
<map param="MFCreateMediaType::ppMFType" attribute="out fast"/>
899899

900900
<map param="MFCreateSample::ppIMFSample" return="true"/>
901+
<map param="MFCreateVideoSampleFromSurface::ppSample" return="true"/>
901902
<map param="MFCreateMemoryBuffer::ppBuffer" return="true"/>
902903
<map param="MFCreateSinkWriterFromURL::ppSinkWriter" return="true"/>
903904
<map param="IMFCollection::GetElement::ppUnkElement" return="true"/>
@@ -999,6 +1000,8 @@
9991000
<map function="AppendPropVariant" dll='"mf.dll"'/>
10001001

10011002
<map function="MFPCreateMediaPlayer" dll='"mfplay.dll"'/>
1003+
1004+
<map function="MFCreateVideoSampleFromSurface" dll='"EVR.dll"'/>
10021005

10031006
<map function="MFTEnumEx" visibility="internal"/>
10041007
<map param="MFTEnumEx::pppMFTActivate" type="void" attribute="out"/>

0 commit comments

Comments
 (0)