[FFmpeg-devel] [PATCH v5] avcodec/mfenc: Dynamically load MFPlat.DLL

Trystan Mata trystan.mata at tytanium.xyz
Sat May 21 22:31:10 EEST 2022


Changes since the v4:
  - Avoid having two mf_init function declared (missing #if !HAVE_UWP)
  - Better commit message about linking with UWP

Changes since the v3:
   - Library handle and function pointer are no longer in MFContext.
   - If UWP is enabled, avcodec will be linked directly against MFPlat.DLL.
   - MediaFoundation functions are now called like MFTEnumEx, like Martin
     Storsjö suggested in his review of the v3.

I forgot to mention it on earlier versions, this patch addresses
https://trac.ffmpeg.org/ticket/9788.

// Trystan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-mfenc-Dynamically-load-MediaFoundation-libra.patch
Type: text/x-patch
Size: 10148 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220521/5a83d56e/attachment.bin>


More information about the ffmpeg-devel mailing list