vaapi_encode: Support forcing IDR frames via AVFrame.pict_type

(cherry picked from commit a3c3a5eac2)
This commit is contained in:
Mark Thompson 2016-12-12 21:25:28 +00:00
parent 760f1a7727
commit c667c0979c
2 changed files with 24 additions and 4 deletions

View file

@ -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;