Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v2: windowscodecs/metadata: Implement bKGD chunk reader.
windowscodecs/metadata: Add default item for the GifComment handler.
windowscodecs/tests: Add more tests for initial reader contents.
windowscodecs/metadata: Create default items for the tIME handler.
windowscodecs/metadata: Create default item for the hIST handler.
windowscodecs/metadata: Create default items for the cHRM handler.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7795
Using enum { buf_len, buf_count } also looks strange, leave it for now.
--
v2: sane.ds: Use sizeof() instead of hard-coded values, avoid zero initializing local variables when not necessary.
sane.ds: Clarify how SANE mode names map to ICAP_PIXELTYPE values.
sane.ds: Change return type of sane_categorize_value() to void.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7793
This fixes a misbehaving proton game that sets MF_XVP_PLAYBACK_MODE.
MF_XVP_PLAYBACK_MODE isn't mentioned in microsoft docs, but it's explained and used in the MIT-licensed [Windows-classic-samples](https://github.com/microsoft/Windows-classic-sampl…
Not sure if mfplat is the right place to add the tests for this since the code is in winegstreamer, but it's very similar to the existing mfplat tests and the test does not interface with winegstreamer directly.
It should be noted that on windows, ProcessOutput errors out if we provide a pSample with MF_XVP_PLAYBACK_MODE unset, wine simply ignores it.
--
v3: winegstreamer: Allow caller to allocate samples in MF_XVP_PLAYBACK_MODE.
mfplat/tests: Add test for MF_XVP_PLAYBACK_MODE.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7796