[FFmpeg-cvslog] lavfi/telecine: show time base change too

Paul B Mahol git at videolan.org
Thu Apr 25 19:08:34 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Apr 25 16:52:29 2013 +0000| [00acfdd9260a2b963eb51bb5b51ad4e0c864d6d5] | committer: Paul B Mahol

lavfi/telecine: show time base change too

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=00acfdd9260a2b963eb51bb5b51ad4e0c864d6d5
---

 libavfilter/vf_telecine.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c
index 136df22..e30f357 100644
--- a/libavfilter/vf_telecine.c
+++ b/libavfilter/vf_telecine.c
@@ -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)));
 



More information about the ffmpeg-cvslog mailing list