vsrc_buffer: during init, print information about timebase and sample aspect ratio

pull/2/head
Stefano Sabatini 14 years ago
parent 64c06615d2
commit ea7f73c52e
  1. 5
      libavfilter/vsrc_buffer.c

@ -133,7 +133,10 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
}
}
av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s\n", c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name);
av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s tb:%d/%d sar:%d/%d\n",
c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name,
c->time_base.num, c->time_base.den,
c->sample_aspect_ratio.num, c->sample_aspect_ratio.den);
return 0;
}

Loading…
Cancel
Save