lavfi/aspect: show log info even in case no argument is provided to setdar/setsar

pull/3/merge
Stefano Sabatini 13 years ago
parent c9ac08277d
commit 360218713f
  1. 4
      libavfilter/vf_aspect.c

@ -43,9 +43,9 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
"Invalid string '%s' for aspect ratio.\n", args);
return ret;
}
av_log(ctx, AV_LOG_INFO, "a:%d/%d\n", aspect->ratio.num, aspect->ratio.den);
}
av_log(ctx, AV_LOG_INFO, "a:%d/%d\n", aspect->ratio.num, aspect->ratio.den);
return 0;
}

Loading…
Cancel
Save