ffmpeg | branch: master | Rick Kern <[email protected]> | Mon Sep 16 
09:02:02 2019 -0400| [1db6e47e8599345d4d3c821f1284e9b2c9747fc0] | committer: 
Rick Kern

avcodec/videotoolboxenc: warn user when output will use a different 
profile/level than requested.

Signed-off-by: Rick Kern <[email protected]>

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

 libavcodec/videotoolboxenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 6a02d0ef16..40a7f643e0 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -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);
             }
         }
     }

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to