summaryrefslogtreecommitdiffstats
path: root/libhb/hb_dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb_dict.c')
-rw-r--r--libhb/hb_dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb_dict.c b/libhb/hb_dict.c
index 1eb42b059..e634d8efd 100644
--- a/libhb/hb_dict.c
+++ b/libhb/hb_dict.c
@@ -591,7 +591,7 @@ hb_dict_t * hb_encopts_to_dict(const char * encopts, int encoder)
value++;
}
// x264 has multiple names for some options
- if (encoder == HB_VCODEC_X264)
+ if (encoder & HB_VCODEC_X264_MASK)
name = hb_x264_encopt_name(name);
#ifdef USE_X265
// x265 has multiple names for some options