aboutsummaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMark Thompson2018-11-05 18:00:48 +0000
committerMark Thompson2018-11-18 18:22:07 +0000
commitb67435702090e9a4f6f284d276ac2df0aafc00df (patch)
tree96a71052f93e1fec4cdcb8df0b2d4df703f2cd40 /libavcodec
parentb2ea757f6843e834bddded5fc9922d6e09f87638 (diff)
vaapi_encode: Improve log message for unsupported profiles
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vaapi_encode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index 2fe8501287..eda8a36299 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec/vaapi_encode.c
@@ -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;
}