[FFmpeg-cvslog] avfilter/vf_colorspace: fix message for missing/incorrect colorspace

Sami Boukortt git at videolan.org
Tue May 30 16:05:53 EEST 2023


ffmpeg | branch: master | Sami Boukortt <sboukortt-at-google.com at ffmpeg.org> | Tue May 30 12:29:06 2023 +0200| [06e8eedeba3882480b80a9797f6d0d86d72aca12] | committer: Ronald S. Bultje

avfilter/vf_colorspace: fix message for missing/incorrect colorspace

Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

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

 libavfilter/vf_colorspace.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index 21916b7b7a..852dc11c6c 100644
--- a/libavfilter/vf_colorspace.c
+++ b/libavfilter/vf_colorspace.c
@@ -572,15 +572,15 @@ static int create_filtergraph(AVFilterContext *ctx,
             if (s->out_csp == AVCOL_SPC_UNSPECIFIED) {
                 if (s->user_all == CS_UNSPECIFIED) {
                     av_log(ctx, AV_LOG_ERROR,
-                           "Please specify output transfer characteristics\n");
+                           "Please specify output colorspace\n");
                 } else {
                     av_log(ctx, AV_LOG_ERROR,
                            "Unsupported output color property %d\n", s->user_all);
                 }
             } else {
                 av_log(ctx, AV_LOG_ERROR,
-                       "Unsupported output transfer characteristics %d (%s)\n",
-                       s->out_csp, av_color_space_name(s->out_csp));
+                       "Unsupported output colorspace %d (%s)\n", s->out_csp,
+                       av_color_space_name(s->out_csp));
             }
             return AVERROR(EINVAL);
         }



More information about the ffmpeg-cvslog mailing list