@@ -552,10 +552,16 @@ static int config_props(AVFilterLink *outlink)
scale->out_range == AVCOL_RANGE_JPEG, 0);
if (scale->opts) {
+ char args[512] = { 0 };
AVDictionaryEntry *e = NULL;
while ((e = av_dict_get(scale->opts, "", e, AV_DICT_IGNORE_SUFFIX))) {
if ((ret = av_opt_set(*s, e->key, e->value, 0)) < 0)
return ret;
+ av_strlcatf(args, sizeof(args), "%s=%s:", e->key, e->value);
+ }
+ if (args[0] != '\0') {
+ args[strlen(args)-1] = 0;
+ av_log(ctx, AV_LOG_VERBOSE, "swscale_options:'%s'\n", args);
}
}
/* Override YUV420P default settings to have the correct (MPEG-2) chroma positions