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

2022-05-25 Thread Trystan Mata
> In testing of it, I noted that you still need to link against -lmfuuid > when building with MSVC (but in mingw, those UUIDs are defined inline in > headers I think). Ah, I just used used mingw for my testing, sorry. > Additionally, I realized I do prefer to keep using plain LoadLibraryA > and F

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

2022-05-25 Thread Trystan Mata
earlier sent twice. // TrystanFrom 1f6a42a758e9bd7fca49f22ce96c39b59b059dc2 Mon Sep 17 00:00:00 2001 From: Trystan Mata Date: Wed, 25 May 2022 10:58:08 +0200 Subject: [PATCH] avcodec/mfenc: Dynamically load MediaFoundation library Allows non-UWP builds of FFmpeg with MediaFoundation to work on N

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

2022-05-24 Thread Trystan Mata
Firstly, thank you for your review. > You shouldn't use win32_dlopen directly (there's no preexisting code that > does that). If you want to use the helpers from w32dlfcn.h, call dlopen > and dlclose, which then redirect to those functions. But here I don't see > any need to use that wrapper w

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

2022-05-24 Thread Trystan Mata
Firstly, thank you for your review. > You shouldn't use win32_dlopen directly (there's no preexisting code that > does that). If you want to use the helpers from w32dlfcn.h, call dlopen > and dlclose, which then redirect to those functions. But here I don't see > any need to use that wrapp

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

2022-05-21 Thread Trystan Mata
00:00:00 2001 From: Trystan Mata Date: Sat, 21 May 2022 16:26:56 +0200 Subject: [PATCH] avcodec/mfenc: Dynamically load MediaFoundation library Allows non-UWP builds of FFmpeg with MediaFoundation to work on N editions of Windows which are without MediaFoundation by default. On UWP target

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

2022-05-21 Thread Trystan Mata
mention it on earlier versions, this patch addresses https://trac.ffmpeg.org/ticket/9788. Maybe I again sent the patch the wrong way, sorry again if this is the case. // TrystanFrom 271ea405ba6d9e093c044ac5ec2a5651c401fa6a Mon Sep 17 00:00:00 2001 From: Trystan Mata Date: Sat, 21 May 2022 16:26:56

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

2022-05-20 Thread Trystan Mata
Firstly, I'm sorry about those patches without changes mentioned. As changes, there was just a whitespace that I removed. I'm not used at all to sending matches through mailing list. And Patchwork failed to apply my patches, so I resend it trying to see if the way I sent the patch was wrong. I

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

2022-05-20 Thread Trystan Mata
From 2bdef1bdb93efa40b7d3fe21270f9f23465bee90 Mon Sep 17 00:00:00 2001 From: Trystan Mata Date: Fri, 20 May 2022 14:26:49 +0200 Subject: [PATCH] avcodec/mfenc: Dynamically load MFPlat.DLL Allow builds of FFmpeg with MediaFoundation to work under N editions of Windows which are without

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

2022-05-20 Thread Trystan Mata
Allow builds of FFmpeg with MediaFoundation to work under N editions of Windows which are without MediaFoundation by default. Signed-off-by: Trystan Mata --- configure | 4 +- libavcodec/mf_utils.c | 26 +++-- libavcodec/mf_utils.h | 16 ++-- libavcodec/mfenc.c| 91

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

2022-05-20 Thread Trystan Mata
Allow builds of FFmpeg with MediaFoundation to work under N editions of Windows which are without MediaFoundation by default. Signed-off-by: Trystan Mata --- configure | 4 +- libavcodec/mf_utils.c | 26 ++-- libavcodec/mf_utils.h | 16 ++-- libavcodec/mfenc.c| 92