[PATCH 5/5] mfplat: Implement transform activation object.

Alexandre Julliard julliard at winehq.org
Tue Mar 3 06:29:37 CST 2020


Nikolay Sivov <nsivov at codeweavers.com> writes:

>  static HRESULT WINAPI transform_activate_ShutdownObject(IMFActivate *iface)
>  {
> -    FIXME("%p.\n", iface);
> +    struct transform_activate *activate = impl_from_IMFActivate(iface);
>  
> -    return E_NOTIMPL;
> +    TRACE("%p.\n", iface);
> +
> +    EnterCriticalSection(&activate->attributes.cs);
> +
> +    if (activate->transform)
> +    {
> +        IMFTransform_Release(activate->transform);
> +        activate->transform;

Did you mean to set it to NULL here?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list