[FFmpeg-cvslog] vaapi_encode: Improve log message for unsupported profiles

Mark Thompson git at videolan.org
Sun Nov 18 20:30:22 EET 2018


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Mon Nov  5 18:00:48 2018 +0000| [b67435702090e9a4f6f284d276ac2df0aafc00df] | committer: Mark Thompson

vaapi_encode: Improve log message for unsupported profiles

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b67435702090e9a4f6f284d276ac2df0aafc00df
---

 libavcodec/vaapi_encode.c | 5 +++--
 1 file 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;
         }
 



More information about the ffmpeg-cvslog mailing list