lavfi/telecine: show time base change too
authorPaul B Mahol <onemda@gmail.com>
Thu, 25 Apr 2013 16:52:29 +0000 (16:52 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 25 Apr 2013 16:52:29 +0000 (16:52 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_telecine.c

index 136df22..e30f357 100644 (file)
@@ -156,6 +156,8 @@ static int config_output(AVFilterLink *outlink)
     outlink->flags |= FF_LINK_FLAG_REQUEST_LOOP;
     outlink->frame_rate = fps;
     outlink->time_base = av_mul_q(inlink->time_base, tc->pts);
+    av_log(ctx, AV_LOG_VERBOSE, "TB: %d/%d -> %d/%d\n",
+           inlink->time_base.num, inlink->time_base.den, outlink->time_base.num, outlink->time_base.den);
 
     tc->ts_unit = av_q2d(av_inv_q(av_mul_q(fps, outlink->time_base)));