diff mbox series

[FFmpeg-devel] lavc/dnxhddata: Improve experimental profile message

Message ID CAB0OVGp2=bvtP2XQnBtB9yAhdH2xEKWgbhewfz7V9g=GY5yOsw@mail.gmail.com
State New
Headers show
Series [FFmpeg-devel] lavc/dnxhddata: Improve experimental profile message
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Carl Eugen Hoyos June 28, 2020, 10:53 p.m. UTC
Hi!

Attached patch is meant to ease using an experimental profile for less
experienced users.

Please comment, Carl Eugen
Subject: [PATCH] lavc/dnxhddata: Improve experimental profile message.

---
 libavcodec/dnxhddata.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c
index 154be89860..da565e6f67 100644
--- a/libavcodec/dnxhddata.c
+++ b/libavcodec/dnxhddata.c
@@ -1148,7 +1148,9 @@  int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth)
             !(cid->flags & DNXHD_444) && cid->bit_depth == bit_depth) {
             if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL &&
                 cid->flags & DNXHD_MBAFF) {
-                av_log(avctx, AV_LOG_WARNING, "Profile selected is experimental\n");
+                av_log(avctx, AV_LOG_ERROR,
+                       "Selected profile is experimental, add '-strict %d' if you want to use it\n",
+                       FF_COMPLIANCE_EXPERIMENTAL);
                 continue;
             }
             for (j = 0; j < FF_ARRAY_ELEMS(cid->bit_rates); j++) {