[FFmpeg-devel] [PATCH 3/4] vaapi_hevc: Mark as async-safe

Ronald S. Bultje rsbultje at gmail.com
Wed Mar 22 15:40:44 EET 2017


Hi,

On Tue, Mar 21, 2017 at 6:43 PM, Mark Thompson <sw at jkqxz.net> wrote:

> ---
> This was missed in e0cd598bc4684654d63942e9ff4872c0b48a7dc2 because it
> wasn't in libav at the time.
>
>
>  libavcodec/vaapi_hevc.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c
> index 2b0e8ff326..34d32795b7 100644
> --- a/libavcodec/vaapi_hevc.c
> +++ b/libavcodec/vaapi_hevc.c
> @@ -25,6 +25,7 @@
>
>  #include "avcodec.h"
>  #include "hevc.h"
> +#include "hwaccel.h"
>  #include "vaapi_decode.h"
>
>  typedef struct VAAPIDecodePictureHEVC {
> @@ -434,4 +435,5 @@ AVHWAccel ff_hevc_vaapi_hwaccel = {
>      .init                 = ff_vaapi_decode_init,
>      .uninit               = ff_vaapi_decode_uninit,
>      .priv_data_size       = sizeof(VAAPIDecodeContext),
> +    .caps_internal        = HWACCEL_CAP_ASYNC_SAFE,
>  };
> --
> 2.11.0


LGTM.

Ronald


More information about the ffmpeg-devel mailing list