References held by contained stream objects must use an internal refcount, otherwise they prevent release of the media source if Start() and Shutdown() are not called.
--
v3: winegstreamer: Introduce an internal refcount in media source objects.
mfplat/tests: Test the refcount before the media source is released.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6783
On Thu Nov 7 23:04:24 2024 +0000, Elizabeth Figura wrote:
> > > Proton hack won't be acceptable upstream
> >
> > I learned that Wine and wine-staging doesn't like app-specific code.
> However, Proton has [a lot of app-specific
> workarounds](https://github.com/ValveSoftware/Proton/blob/1a73b04e6cdf29297….
> Since Microsoft
> [famously](https://arstechnica.com/gadgets/2022/10/windows-95-went-the-extra…
> has app-specific workarounds (which Wine needs to emulate for full
> conformance), our own workaround for Microsoft Office wouldn't be much
> different on the technical side. On the social side, Wine wouldn't
> accept stuff like that, but Proton has a history of this.
> Proton already has a hack for this issue.
That hack is game specific, not enabled by default (as currently considered too dangerous and not that often needed). It is not enabled by MS Office of course. Maybe it can be, provided it works with Proton with the hack.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2378#note_86875