mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vaapi_encode: Support forcing IDR frames via AVFrame.pict_type
(cherry picked from commit a3c3a5eac2)
This commit is contained in:
parent
760f1a7727
commit
c667c0979c
2 changed files with 24 additions and 4 deletions
|
|
@ -192,6 +192,7 @@ typedef struct VAAPIEncodeContext {
|
|||
// Frame type decision.
|
||||
int p_per_i;
|
||||
int b_per_p;
|
||||
int force_idr;
|
||||
int gop_counter;
|
||||
int p_counter;
|
||||
int end_of_stream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue