diff options
author | Rodeo <[email protected]> | 2013-11-08 15:45:03 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-11-08 15:45:03 +0000 |
commit | 6eeb619280e58feceed314a3d5864c4e17e62c11 (patch) | |
tree | 46090b95a6920475dbd337a997509b6a1090fe51 /libhb/qsv_common.c | |
parent | c7be682975ec4a26c7bb5cf143bf3b29a1a004d8 (diff) |
New getters for video presets, tunes, profiles and levels.
x264 is no longer the only encoder with a built-in preset system; QSV has its own presets, and supports setting the H.264 profile and level, too.
Old getters still in place for compatibility with the old API..
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5883 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r-- | libhb/qsv_common.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index 542f03374..44f11ffad 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -698,7 +698,7 @@ int hb_qsv_param_parse(hb_qsv_param_t *param, return error ? HB_QSV_PARAM_BAD_VALUE : HB_QSV_PARAM_OK; } -const char* const* hb_qsv_presets() +const char* const* hb_qsv_preset_get_names() { if (hb_get_cpu_platform() >= HB_CPU_PLATFORM_INTEL_HSW) { @@ -710,6 +710,13 @@ const char* const* hb_qsv_presets() } } +#ifdef HB_API_OLD_PRESET_GETTERS +const char* const* hb_qsv_presets() +{ + return hb_qsv_preset_get_names(); +} +#endif + int hb_qsv_param_default_preset(hb_qsv_param_t *param, mfxVideoParam *videoParam, const char *preset) { |