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

Commit 265f955

Browse files
authored
Merge pull request #1004 from battlebottle/CreateVideoSampleFromSurface_Fix
[MediaFoundation] Fixed CreateVideoSampleFromSurface
2 parents 5222284 + c98e362 commit 265f955

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
@@ -900,6 +900,7 @@
900900
<map param="MFCreateMediaType::ppMFType" attribute="out fast"/>
901901

902902
<map param="MFCreateSample::ppIMFSample" return="true"/>
903+
<map param="MFCreateVideoSampleFromSurface::ppSample" return="true"/>
903904
<map param="MFCreateMemoryBuffer::ppBuffer" return="true"/>
904905
<map param="MFCreateSinkWriterFromURL::ppSinkWriter" return="true"/>
905906
<map param="IMFCollection::GetElement::ppUnkElement" return="true"/>
@@ -1001,6 +1002,8 @@
10011002
<map function="AppendPropVariant" dll='"mf.dll"'/>
10021003

10031004
<map function="MFPCreateMediaPlayer" dll='"mfplay.dll"'/>
1005+
1006+
<map function="MFCreateVideoSampleFromSurface" dll='"EVR.dll"'/>
10041007

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

0 commit comments

Comments
 (0)