This has been implemented in a few different ways (see MR !7238 and MR !359), neither of which have associated tests.
This way of doing things sidesteps the need to update existing `VT_BLOB` properties by just storing/retrieving them in the same format we always have. If the registry data doesn't match a set of criteria, we treat it as `VT_BLOB` always.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8760
uiLengthDrawn should represent the number of characters that have been processed.
However, the original implementation uses len (the count of displayed characters
in the current line), which is not accurate.
When text requires line breaks or special processing (such as adding an ellipsis),
the actual number of processed characters may differ from the number of displayed
characters.
When the DT_CALCRECT flag is absent, len gets decremented to 0 during the drawing loop.
Consequently, uiLengthDrawn becomes inaccurate since it relies on len's value for statistics.
--
v7: user32: Fix uiLengthDrawn calculation in DrawTextExW().
https://gitlab.winehq.org/wine/wine/-/merge_requests/8178
On Mon Aug 11 22:00:35 2025 +0000, Brendan McGrath wrote:
> > Yeah, that makes me more nervous actually. If just targeting
> avdec_h264 seems to be enough in practice then let's just limit it to
> that for now.
> Me too actually. Happy with that.
> > Thanks, could you please also edit the code comment?
> Oops. Yep. Missed that one, sorry. And done.
@zfigura I still need your approval on this one. Is there anything you're waiting on?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8719#note_112764
I split the implementations into 2 parts to make it looks easier to review. So plz first review this MR and make sure it's good so that we don't have to rebase. The follwing patches is in !7571.
--
v3: mfreadwrite: Implement sink_writer_SetInputMediaType.
mfreadwrite: Implement IMFSinkWriterEx.
mfreadwrite: Add converter transform to stream.
mfreadwrite: Add attributes member to writer struct.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7570