mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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).
This commit is contained in:
parent
8479f99c7d
commit
bf726c26fd
8 changed files with 68 additions and 41 deletions
|
|
@ -401,6 +401,7 @@ static av_cold int vaapi_encode_mjpeg_init(AVCodecContext *avctx)
|
|||
static const AVCodecDefault vaapi_encode_mjpeg_defaults[] = {
|
||||
{ "global_quality", "80" },
|
||||
{ "b", "0" },
|
||||
{ "g", "1" },
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue