diff options
author | Rodeo <[email protected]> | 2015-02-15 18:46:26 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-02-15 18:46:26 +0000 |
commit | 56586d73ed29fe64187c9083a84da4146db65bcc (patch) | |
tree | fa04e19eb87acf9a964a6c1ff33a23e21a4ac6df /libhb/common.c | |
parent | c721fa4582108285a8399348ad098fc4e0a766ae (diff) |
H.265: don't allow requesting Main 10 profile.
This is pointless since we only do 8-bit encoding for now.
Also add a few extra tables for future use.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6904 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/common.c b/libhb/common.c index 9db9e7462..3476dbf7a 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -17,6 +17,7 @@ #include "lang.h" #include "common.h" #include "h264_common.h" +#include "h265_common.h" #ifdef USE_QSV #include "qsv_common.h" #endif @@ -1210,10 +1211,9 @@ const char* const* hb_video_encoder_get_profiles(int encoder) case HB_VCODEC_X264: return hb_h264_profile_names; -#ifdef USE_X265 case HB_VCODEC_X265: - return x265_profile_names; -#endif + return hb_h265_profile_names; + default: return NULL; } |