March 27, 2026
3:13 p.m.
On Fri Mar 27 13:53:33 2026 +0000, Rémi Bernon wrote:
Can we keep using the flag on the output side to avoid actually creating the transforms, which may be heavy? Looking a bit more into it it actually doesn't seem right to do that here. IsMediaTypeSupported should only return whether the type is supported or not and shouldn't modify the current media type in any way.
If we need to set it for transforms, we should set it explicitly, during the connection attempt, not hide it behind the media type handler abstraction. We should also probably restore the original or NULL current media type after the connection attempt, in case it failed. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10009#note_134094