From bf726c26fde26601a90daacf1b10a9860d21321c Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 18 Sep 2018 23:30:47 +0100 Subject: vaapi_encode: Clean up the GOP structure configuration Choose what types of reference frames will be used based on what types are available, and make the intra-only mode explicit (GOP size one, which must be used for MJPEG). --- libavcodec/vaapi_encode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/vaapi_encode.h') diff --git a/libavcodec/vaapi_encode.h b/libavcodec/vaapi_encode.h index e61e900e8d..5d6fdcf336 100644 --- a/libavcodec/vaapi_encode.h +++ b/libavcodec/vaapi_encode.h @@ -224,6 +224,7 @@ typedef struct VAAPIEncodeContext { int64_t ts_ring[MAX_REORDER_DELAY * 3]; // Frame type decision. + int gop_size; int p_per_i; int b_per_p; int force_idr; -- cgit v1.2.3