Message ID | 20211118040549.3871537-2-guangxin.xu@intel.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/4] avutils: hwcontext_vaapi, print error if allocated surfaces > pool size | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavutil/hwcontext_vaapi.h b/libavutil/hwcontext_vaapi.h index 0b2e071cb3..e4c7707861 100644 --- a/libavutil/hwcontext_vaapi.h +++ b/libavutil/hwcontext_vaapi.h @@ -58,6 +58,12 @@ enum { * and the results of the vaQuerySurfaceAttributes() call will be faked. */ AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES = (1 << 3), + + /** + * The driver does not support dynamically frame pool resizing. + * We need to provide all va surfaces at vaCreateContext + */ + AV_VAAPI_DRIVER_QUIRK_FRAME_POOL_RESIZING = (1 << 4), }; /**