X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Famfenc.h;h=b1361842bd655bdc4defa0c91309a506190a60f5;hb=d85c84eb38e5845495dacfcef82265a433fdd043;hp=84f0aad2fa4f9431452a8cb0dd98a7a458de21b4;hpb=87faeb1e685eedc49d9cb6de14bab1cfc88ab655;p=ffmpeg diff --git a/libavcodec/amfenc.h b/libavcodec/amfenc.h index 84f0aad2fa4..b1361842bd6 100644 --- a/libavcodec/amfenc.h +++ b/libavcodec/amfenc.h @@ -62,6 +62,9 @@ typedef struct AmfContext { AVBufferRef *hw_device_ctx; ///< pointer to HW accelerator (decoder) AVBufferRef *hw_frames_ctx; ///< pointer to HW accelerator (frame allocator) + int hwsurfaces_in_queue; + int hwsurfaces_in_queue_max; + // helpers to handle async calls int delayed_drain; AMFSurface *delayed_surface;