Commit 00b160af authored by Diego Biurrun's avatar Diego Biurrun

nvenc: Fix nvec vs. nvenc typo

parent 42cf7f91
...@@ -479,7 +479,7 @@ typedef struct GUIDTuple { ...@@ -479,7 +479,7 @@ typedef struct GUIDTuple {
#define PRESET(name, ...) PRESET_ALIAS(name, name, __VA_ARGS__) #define PRESET(name, ...) PRESET_ALIAS(name, name, __VA_ARGS__)
static int nvec_map_preset(NVENCContext *ctx) static int nvenc_map_preset(NVENCContext *ctx)
{ {
GUIDTuple presets[] = { GUIDTuple presets[] = {
PRESET(DEFAULT), PRESET(DEFAULT),
...@@ -882,7 +882,7 @@ static int nvenc_setup_encoder(AVCodecContext *avctx) ...@@ -882,7 +882,7 @@ static int nvenc_setup_encoder(AVCodecContext *avctx)
ctx->params.encodeConfig = &ctx->config; ctx->params.encodeConfig = &ctx->config;
nvec_map_preset(ctx); nvenc_map_preset(ctx);
preset_cfg.version = NV_ENC_PRESET_CONFIG_VER; preset_cfg.version = NV_ENC_PRESET_CONFIG_VER;
preset_cfg.presetCfg.version = NV_ENC_CONFIG_VER; preset_cfg.presetCfg.version = NV_ENC_CONFIG_VER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment