]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/videotoolboxenc: warn user when output will use a different profile/level...
authorRick Kern <rick@8birdsvideo.com>
Mon, 16 Sep 2019 13:02:02 +0000 (09:02 -0400)
committerRick Kern <rick@8birdsvideo.com>
Mon, 16 Sep 2019 13:02:59 +0000 (09:02 -0400)
Signed-off-by: Rick Kern <kernrj@gmail.com>
libavcodec/videotoolboxenc.c

index 6a02d0ef16c8c95eb9b62b2b6f3cd8a6530af887..40a7f643e063958f625a146d3b6f5d7ddbe2e8c1 100644 (file)
@@ -1112,7 +1112,7 @@ static int vtenc_create_encoder(AVCodecContext   *avctx,
                                         kVTCompressionPropertyKey_ProfileLevel,
                                         profile_level);
             if (status) {
-                av_log(avctx, AV_LOG_ERROR, "Error setting profile/level property: %d\n", status);
+                av_log(avctx, AV_LOG_ERROR, "Error setting profile/level property: %d. Output will be encoded using a supported profile/level combination.\n", status);
             }
         }
     }