[Mesa-dev] [PATCH v2] st/vdpau: fix argument type to vlVdpOutputSurfaceDMABuf

Christian König deathsimple at vodafone.de
Thu Sep 15 07:25:49 UTC 2016


Am 15.09.2016 um 01:16 schrieb Ilia Mirkin:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

Reviewed-by: Christian König <christian.koenig at amd.com>.

> ---
>
> v1 -> v2: adjust typedef in vdpau_dmabuf.h, per Nayan
>
>   src/gallium/include/state_tracker/vdpau_dmabuf.h | 2 +-
>   src/gallium/state_trackers/vdpau/output.c        | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/include/state_tracker/vdpau_dmabuf.h b/src/gallium/include/state_tracker/vdpau_dmabuf.h
> index 886c344..f838c92 100644
> --- a/src/gallium/include/state_tracker/vdpau_dmabuf.h
> +++ b/src/gallium/include/state_tracker/vdpau_dmabuf.h
> @@ -87,7 +87,7 @@ typedef VdpStatus VdpVideoSurfaceDMABuf(
>   );
>   
>   typedef VdpStatus VdpOutputSurfaceDMABuf(
> -   VdpVideoSurface               surface,
> +   VdpOutputSurface              surface,
>      struct VdpSurfaceDMABufDesc * result
>   );
>   
> diff --git a/src/gallium/state_trackers/vdpau/output.c b/src/gallium/state_trackers/vdpau/output.c
> index 85751ea..f4d62a3 100644
> --- a/src/gallium/state_trackers/vdpau/output.c
> +++ b/src/gallium/state_trackers/vdpau/output.c
> @@ -773,7 +773,7 @@ struct pipe_resource *vlVdpOutputSurfaceGallium(VdpOutputSurface surface)
>      return vlsurface->surface->texture;
>   }
>   
> -VdpStatus vlVdpOutputSurfaceDMABuf(VdpVideoSurface surface,
> +VdpStatus vlVdpOutputSurfaceDMABuf(VdpOutputSurface surface,
>                                      struct VdpSurfaceDMABufDesc *result)
>   {
>      vlVdpOutputSurface *vlsurface;




More information about the mesa-dev mailing list