diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/qsv_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index f3f3082a7..0069e2f38 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -2219,13 +2219,13 @@ const char* hb_qsv_impl_get_name(int impl) const char* hb_qsv_impl_get_via_name(int impl) { - if (impl & MFX_IMPL_VIA_VAAPI) + if ((impl & 0xF00) == MFX_IMPL_VIA_VAAPI) return "via VAAPI"; - else if (impl & MFX_IMPL_VIA_D3D11) + else if ((impl & 0xF00) == MFX_IMPL_VIA_D3D11) return "via D3D11"; - else if (impl & MFX_IMPL_VIA_D3D9) + else if ((impl & 0xF00) == MFX_IMPL_VIA_D3D9) return "via D3D9"; - else if (impl & MFX_IMPL_VIA_ANY) + else if ((impl & 0xF00) == MFX_IMPL_VIA_ANY) return "via ANY"; else return NULL; } |