Skip to content

Commit 33b222c

Browse files
committed
from_lavc_vid_conv: CS warn only once
1 parent 9b31e8c commit 33b222c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libavcodec/from_lavc_vid_conv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3044,7 +3044,7 @@ get_cs_for_conv(AVFrame *f, codec_t av_to_uv_pf, int *lmt_rng)
30443044
}
30453045
const bool have_pp = tok_in_argv(uv_argv, "y601_to_y709");
30463046
if (src_601 && get_default_cs() != CS_601 && !have_pp) {
3047-
MSG(WARNING,
3047+
MSG_ONCE(WARNING,
30483048
"Got %s CS but not converted - consider \"--param "
30493049
"color-601\" as a hint for supported displays or "
30503050
"\"-p matrix2:y601_to_y709\"\n",

0 commit comments

Comments
 (0)