summaryrefslogtreecommitdiffstats
path: root/libhb/hb_dict.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2014-02-10 17:38:41 +0000
committerRodeo <[email protected]>2014-02-10 17:38:41 +0000
commite1e76b53cd11e7706e884d802c5985633b849e4f (patch)
tree64630e6611b46ee27a7ba8804f96a8fce1524ab2 /libhb/hb_dict.c
parente22ffd488a656f6534ce93f85dcfdb8fdb7976bd (diff)
Initial x265 integration. Patch by Zhang Zhiqiang. Thanks!
Build with --enable-x265 (requires CMake). Use via HandBrakeCLI with -a none -e x265 -f raw Only raw HEVC output is supported for now (no audio or subtitles). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6023 b64f7644-9d1e-0410-96f1-a4d463321fa5
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 );
}
}