X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavfilter%2Fvf_blackframe.c;h=47ab3cfc1d60880b2f107561f3c19702878510e2;hb=41f1d3afebd64b02e9cabd5f0ae0c62a8647b9f4;hp=47553f0fe70e7b19425323e34b6d3ccb1387b8a0;hpb=a4ef9658a2ae9c985a3b5f5006abe74018ce9581;p=ffmpeg diff --git a/libavfilter/vf_blackframe.c b/libavfilter/vf_blackframe.c index 47553f0fe70..47ab3cfc1d6 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;