diff options
author | Mark Thompson <sw@jkqxz.net> | 2018-11-05 18:00:48 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-11-18 18:22:07 +0000 |
commit | b67435702090e9a4f6f284d276ac2df0aafc00df (patch) | |
tree | 96a71052f93e1fec4cdcb8df0b2d4df703f2cd40 | |
parent | b2ea757f6843e834bddded5fc9922d6e09f87638 (diff) | |
download | ffmpeg-streaming-b67435702090e9a4f6f284d276ac2df0aafc00df.zip ffmpeg-streaming-b67435702090e9a4f6f284d276ac2df0aafc00df.tar.gz |
vaapi_encode: Improve log message for unsupported profiles
-rw-r--r-- | libavcodec/vaapi_encode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 2fe8501..eda8a36 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; } |