summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2017-12-28 04:22:22 +0100
committerSven Gothel <[email protected]>2017-12-28 04:22:22 +0100
commit4f47ef35fe043a34904f4dca49dd2218d18e8a87 (patch)
tree2680b60a363a2763893ba911615b5d090475f6a5 /gtk/src
parent91f558c0b1334bb14d3a9de5dd26741d20dd6ac4 (diff)
NVENC: Fix HB_VCODEC_FFMPEG_H264 -> HB_VCODEC_FFMPEG_H264_{NVENC,VAAPI}
Adding the specific FFMPEG encoder suffix allows support for more encoders like VAAPI. Cleaned up overall HB_VCODED_* to 32bit signed integer space within 0x7FFFFFFF.
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index d30427f69..5726f65bb 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -5483,8 +5483,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_FFMPEG_H264:
- case HB_VCODEC_FFMPEG_H265:
+ case HB_VCODEC_FFMPEG_H264_NVENC:
+ case HB_VCODEC_FFMPEG_H265_NVENC:
case HB_VCODEC_THEORA:
{
return g_strdup_printf("%s: %d", vqname, (int)val);