[PATCH v2 0/2] MR2027: Add some media codec dll stubs
Gungrave G.O.R.E checks for the presence of these dlls before doing anything with MF. -- v2: msauddecmft: Add stub dll. msmpeg2vdec: Add stub dll. https://gitlab.winehq.org/wine/wine/-/merge_requests/2027
From: Paul Gofman <gofmanp(a)gmail.com> --- configure.ac | 1 + dlls/msmpeg2vdec/Makefile.in | 1 + dlls/msmpeg2vdec/msmpeg2vdec.spec | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 dlls/msmpeg2vdec/Makefile.in create mode 100644 dlls/msmpeg2vdec/msmpeg2vdec.spec diff --git a/configure.ac b/configure.ac index c7217274b80..39ad3c89cc6 100644 --- a/configure.ac +++ b/configure.ac @@ -2765,6 +2765,7 @@ WINE_CONFIG_MAKEFILE(dlls/msimtf) WINE_CONFIG_MAKEFILE(dlls/msisip) WINE_CONFIG_MAKEFILE(dlls/msisys.ocx) WINE_CONFIG_MAKEFILE(dlls/msls31) +WINE_CONFIG_MAKEFILE(dlls/msmpeg2vdec) WINE_CONFIG_MAKEFILE(dlls/msnet32) WINE_CONFIG_MAKEFILE(dlls/mspatcha) WINE_CONFIG_MAKEFILE(dlls/mspatcha/tests) diff --git a/dlls/msmpeg2vdec/Makefile.in b/dlls/msmpeg2vdec/Makefile.in new file mode 100644 index 00000000000..d2dbf5adda0 --- /dev/null +++ b/dlls/msmpeg2vdec/Makefile.in @@ -0,0 +1 @@ +MODULE = msmpeg2vdec.dll diff --git a/dlls/msmpeg2vdec/msmpeg2vdec.spec b/dlls/msmpeg2vdec/msmpeg2vdec.spec new file mode 100644 index 00000000000..50c149b8ce0 --- /dev/null +++ b/dlls/msmpeg2vdec/msmpeg2vdec.spec @@ -0,0 +1,6 @@ +@ stub GetH264DecoderFunctionTable +@ stub ?GetSurface(a)CVIDEOfilter@@QEAAJHPEAEJ(a)Z +@ stub ?GetSurfaceSize(a)CVIDEOfilter@@QEAAJHPEAJ(a)Z +@ stub ?LoadSurface(a)CVIDEOfilter@@QEAAJHPEAEK(a)Z +@ stub DllCanUnloadNow +@ stub DllGetClassObject -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2027
From: Paul Gofman <gofmanp(a)gmail.com> --- configure.ac | 1 + dlls/msauddecmft/Makefile.in | 1 + dlls/msauddecmft/msauddecmft.spec | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 dlls/msauddecmft/Makefile.in create mode 100644 dlls/msauddecmft/msauddecmft.spec diff --git a/configure.ac b/configure.ac index 39ad3c89cc6..14a41c84739 100644 --- a/configure.ac +++ b/configure.ac @@ -2732,6 +2732,7 @@ WINE_CONFIG_MAKEFILE(dlls/msado15/tests) WINE_CONFIG_MAKEFILE(dlls/msadp32.acm) WINE_CONFIG_MAKEFILE(dlls/msasn1) WINE_CONFIG_MAKEFILE(dlls/msasn1/tests) +WINE_CONFIG_MAKEFILE(dlls/msauddecmft) WINE_CONFIG_MAKEFILE(dlls/mscat32) WINE_CONFIG_MAKEFILE(dlls/mscms) WINE_CONFIG_MAKEFILE(dlls/mscms/tests) diff --git a/dlls/msauddecmft/Makefile.in b/dlls/msauddecmft/Makefile.in new file mode 100644 index 00000000000..abce4d1cfe4 --- /dev/null +++ b/dlls/msauddecmft/Makefile.in @@ -0,0 +1 @@ +MODULE = msauddecmft.dll diff --git a/dlls/msauddecmft/msauddecmft.spec b/dlls/msauddecmft/msauddecmft.spec new file mode 100644 index 00000000000..cacaa27a2ca --- /dev/null +++ b/dlls/msauddecmft/msauddecmft.spec @@ -0,0 +1,2 @@ +@ stub DllCanUnloadNow +@ stub DllGetClassObject -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2027
v2: - add spec stubs. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2027#note_22015
Is this critical for this game, or only cleans up some logged errors? Like it might do for chromium. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2027#note_22016
Yes, it doesn't even start using mfplat if this part fails. And with this part it starts using it and hits a few missing winegstreamer bits, but I have patches that make it work pending (currently in Proton). Without video succeeding (e. g., for the reason of not finding these dlls) it just hangs on black screen waiting for something which is not going to happen. I am also not a fan of making work to just cleanup some log errors or move a thing a little bit further :) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2027#note_22020
participants (3)
-
Nikolay Sivov (@nsivov) -
Paul Gofman -
Paul Gofman (@gofman)