vaapi_encode: Improve log message for unsupported profiles
authorMark Thompson <sw@jkqxz.net>
Mon, 5 Nov 2018 18:00:48 +0000 (18:00 +0000)
committerMark Thompson <sw@jkqxz.net>
Sun, 18 Nov 2018 18:22:07 +0000 (18:22 +0000)
libavcodec/vaapi_encode.c

index 2fe8501..eda8a36 100644 (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;
         }