diff options
author | Rodeo <[email protected]> | 2013-09-01 08:56:50 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-09-01 08:56:50 +0000 |
commit | 8270fcfeb84a2c6c051a24fcceea534b939eee58 (patch) | |
tree | 92b54f9247185704ccae7a92177412aa8a5fdeeb /libhb/qsv_common.h | |
parent | 4220853ed08a7dd6fb35421a422ff2e7c4bed2b7 (diff) |
QSV: choose and re-use a "preferred" implementation instead of using MFX_IMPL_AUTO_ANY.
This fixes a rare issue where hardware support was detected as available and used in encqsvInit, but MFXInit silently fell back to software in qsv_enc_init (still don't know what that's all about though).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5759 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.h')
-rw-r--r-- | libhb/qsv_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/qsv_common.h b/libhb/qsv_common.h index cd85d33a2..9e9b58f30 100644 --- a/libhb/qsv_common.h +++ b/libhb/qsv_common.h @@ -116,4 +116,7 @@ float hb_qsv_atof (const char *str, int *err); int hb_qsv_param_default(hb_qsv_param_t *param, mfxVideoParam *videoParam); int hb_qsv_param_parse (hb_qsv_param_t *param, const char *key, const char *value, int vcodec); +mfxIMPL hb_qsv_impl_get_preferred(); +const char* hb_qsv_impl_get_name(int impl); + #endif |