summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <[email protected]>2017-09-30 17:49:45 -0400
committermatthew <[email protected]>2017-09-30 17:49:45 -0400
commit5cf0d051e2ea830cef85db03a4d9a8ad1de1ad0f (patch)
tree416fb45b31d92fe0844e9e6788f372a03eaafb2d
parent5059990aadc1c3e3607dba598f4c8309920b74fd (diff)
fixed callbacks.c name issue and added nvenc enable to moduel.defs
-rw-r--r--contrib/ffmpeg/module.defs1
-rw-r--r--gtk/src/callbacks.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ffmpeg/module.defs b/contrib/ffmpeg/module.defs
index 904d75f3e..e014538b0 100644
--- a/contrib/ffmpeg/module.defs
+++ b/contrib/ffmpeg/module.defs
@@ -29,6 +29,7 @@ FFMPEG.CONFIGURE.extra = \
--disable-avprobe \
--disable-avdevice \
--disable-muxers \
+ --enable-nvenc \
--disable-network \
--disable-vaapi \
--disable-vdpau \
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index e85e633ec..5c02ba17b 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -5197,8 +5197,8 @@ format_vquality_cb(GtkScale *scale, gdouble val, signal_user_data_t *ud)
case HB_VCODEC_FFMPEG_MPEG2:
case HB_VCODEC_FFMPEG_VP8:
case HB_VCODEC_FFMPEG_VP9:
- case HB_VCODEC_NVENC_H264:
- case HB_VCODEC_NVENC_HEVC:
+ case HB_VCODEC_H264_NVENC:
+ case HB_VCODEC_HEVC_NVENC:
case HB_VCODEC_THEORA:
{
return g_strdup_printf("%s: %d", vqname, (int)val);