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

Commit

Permalink
Merge pull request #1004 from battlebottle/CreateVideoSampleFromSurfa…
Browse files Browse the repository at this point in the history
…ce_Fix

[MediaFoundation] Fixed CreateVideoSampleFromSurface
  • Loading branch information
xoofx committed Apr 23, 2018
2 parents 5222284 + c98e362 commit 265f955
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/SharpDX.MediaFoundation/Mapping-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@
<map param="MFCreateMediaType::ppMFType" attribute="out fast"/>

<map param="MFCreateSample::ppIMFSample" return="true"/>
<map param="MFCreateVideoSampleFromSurface::ppSample" return="true"/>
<map param="MFCreateMemoryBuffer::ppBuffer" return="true"/>
<map param="MFCreateSinkWriterFromURL::ppSinkWriter" return="true"/>
<map param="IMFCollection::GetElement::ppUnkElement" return="true"/>
Expand Down Expand Up @@ -1001,6 +1002,8 @@
<map function="AppendPropVariant" dll='"mf.dll"'/>

<map function="MFPCreateMediaPlayer" dll='"mfplay.dll"'/>

<map function="MFCreateVideoSampleFromSurface" dll='"EVR.dll"'/>

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

0 comments on commit 265f955

Please sign in to comment.