vaapi_encode: Improve log message for unsupported profiles

This commit is contained in:
Mark Thompson 2018-11-05 18:00:48 +00:00
parent b2ea757f68
commit b674357020

View File

@ -1135,8 +1135,9 @@ static av_cold int vaapi_encode_profile_entrypoint(AVCodecContext *avctx)
break;
}
if (j >= n) {
av_log(avctx, AV_LOG_VERBOSE, "Matching profile %d is "
"not supported by driver.\n", profile->va_profile);
av_log(avctx, AV_LOG_VERBOSE, "Compatible profile %s (%d) "
"is not supported by driver.\n", profile_string,
profile->va_profile);
continue;
}