diff options
Diffstat (limited to 'video/out/hwdec')
-rw-r--r-- | video/out/hwdec/hwdec_vaapi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/video/out/hwdec/hwdec_vaapi.c b/video/out/hwdec/hwdec_vaapi.c index 62c66e5b29..57251d5292 100644 --- a/video/out/hwdec/hwdec_vaapi.c +++ b/video/out/hwdec/hwdec_vaapi.c @@ -362,8 +362,11 @@ static void determine_working_formats(struct ra_hwdec *hw) int num_ep = 0; status = vaQueryConfigEntrypoints(p->display, profile, entrypoints, &num_ep); - if (!CHECK_VA_STATUS(hw, "vaQueryConfigEntrypoints()")) + if (status != VA_STATUS_SUCCESS) { + MP_VERBOSE(hw, "vaQueryConfigEntrypoints(): '%s' for profile %d", + vaErrorStr(status), (int)profile); continue; + } for (int ep = 0; ep < num_ep; ep++) { VAConfigID config = VA_INVALID_ID; status = vaCreateConfig(p->display, profile, entrypoints[ep], |