Message ID | 20170321224358.21315-4-sw@jkqxz.net |
---|---|
State | Accepted |
Commit | 9560766a6164ed362e7f274242a024fe7b71d154 |
Headers | show |
Hi, On Tue, Mar 21, 2017 at 6:43 PM, Mark Thompson <sw@jkqxz.net> wrote: > --- > This was missed in e0cd598bc4684654d63942e9ff4872c0b48a7dc2 because it > isn't in libav. > > > libavcodec/vaapi_vp9.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/vaapi_vp9.c b/libavcodec/vaapi_vp9.c > index a656ffb13c..7374465d49 100644 > --- a/libavcodec/vaapi_vp9.c > +++ b/libavcodec/vaapi_vp9.c > @@ -21,6 +21,8 @@ > */ > > #include "libavutil/pixdesc.h" > + > +#include "hwaccel.h" > #include "vaapi_decode.h" > #include "vp9.h" > > @@ -178,4 +180,5 @@ AVHWAccel ff_vp9_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
diff --git a/libavcodec/vaapi_vp9.c b/libavcodec/vaapi_vp9.c index a656ffb13c..7374465d49 100644 --- a/libavcodec/vaapi_vp9.c +++ b/libavcodec/vaapi_vp9.c @@ -21,6 +21,8 @@ */ #include "libavutil/pixdesc.h" + +#include "hwaccel.h" #include "vaapi_decode.h" #include "vp9.h" @@ -178,4 +180,5 @@ AVHWAccel ff_vp9_vaapi_hwaccel = { .init = ff_vaapi_decode_init, .uninit = ff_vaapi_decode_uninit, .priv_data_size = sizeof(VAAPIDecodeContext), + .caps_internal = HWACCEL_CAP_ASYNC_SAFE, };