]> git.sesse.net Git - ffmpeg/commitdiff
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 2fe8501287108389542962a8b7a191d21fa63a56..eda8a362992b94ee5f6a28fb03a8f837311ff1fe 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;
         }