[PATCH v3 4/4] winegstreamer: Introduce new H264 decoder transform stub.

Nikolay Sivov nsivov at codeweavers.com
Thu Mar 10 23:56:10 CST 2022


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>

On 3/9/22 11:53, Rémi Bernon wrote:
> diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
> index fd12584b932..166a357409a 100644
> --- a/dlls/mf/tests/mf.c
> +++ b/dlls/mf/tests/mf.c
> @@ -6861,7 +6861,7 @@ static void test_h264_decoder(void)
>       {
>           status = 0;
>           memset(&output, 0, sizeof(output));
> -        output.pSample = create_sample(NULL, output_info.cbSize);
> +        output.pSample = create_sample(NULL, 0x3fc000);
>           hr = IMFTransform_ProcessOutput(transform, 0, 1, &output, &status);
>           if (hr != MF_E_TRANSFORM_NEED_MORE_INPUT) break;
>           ok(hr == MF_E_TRANSFORM_NEED_MORE_INPUT, "ProcessOutput returned %#lx\n", hr);
It would be nicer to have some kind of constant or expression for this 
size, if possible.



More information about the wine-devel mailing list