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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/hb_dict.c b/libhb/hb_dict.c
index 0e9cd0523..bc52141f5 100644
--- a/libhb/hb_dict.c
+++ b/libhb/hb_dict.c
@@ -186,6 +186,11 @@ hb_dict_t * hb_encopts_to_dict( const char * encopts, int encoder )
// x264 has multiple names for some options
if( encoder == HB_VCODEC_X264 )
name = hb_x264_encopt_name( name );
+#ifdef USE_X265
+ // x265 has multiple names for some options
+ if( encoder == HB_VCODEC_X265 )
+ name = hb_x265_encopt_name( name );
+#endif
hb_dict_set( &dict, name, value );
}
}