diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-02 19:42:08 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-02 19:42:08 +0000 |
commit | 41f1d3afebd64b02e9cabd5f0ae0c62a8647b9f4 (patch) | |
tree | 9995b8076fcebd4593dad224f15b70d2eb821269 /libavfilter/vf_blackframe.c | |
parent | a4ef9658a2ae9c985a3b5f5006abe74018ce9581 (diff) | |
download | ffmpeg-41f1d3afebd64b02e9cabd5f0ae0c62a8647b9f4.tar.gz |
Fix timestamp handling in more filters after the change which set the
timebase in the filter link.
Originally committed as revision 25649 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_blackframe.c')
-rw-r--r-- | libavfilter/vf_blackframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index 47553f0fe7..47ab3cfc1d 100644 --- a/libavfilter/vf_blackframe.c +++ b/libavfilter/vf_blackframe.c @@ -99,7 +99,7 @@ static void end_frame(AVFilterLink *inlink) if (pblack >= blackframe->bamount) av_log(ctx, AV_LOG_INFO, "frame:%u pblack:%u pos:%"PRId64" pts:%"PRId64" t:%f\n", blackframe->frame, pblack, picref->pos, picref->pts, - picref->pts == AV_NOPTS_VALUE ? -1 : (double)picref->pts / AV_TIME_BASE); + picref->pts == AV_NOPTS_VALUE ? -1 : picref->pts * av_q2d(inlink->time_base)); blackframe->frame++; blackframe->nblack = 0; |