aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_blackdetect.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-21 00:57:53 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-21 11:00:20 +0200
commit5bc87f1cd63a63956cee7308f425a8d85adf5c38 (patch)
treee9a1a53ab7f2d326aeaab6066e7475c41e8fec3b /libavfilter/vf_blackdetect.c
parentbef8fd7099edfac9c487e6eb75d7e6116ad80465 (diff)
downloadffmpeg-5bc87f1cd63a63956cee7308f425a8d85adf5c38.tar.gz
lavfi/blackdetect: fix pts time debug printing
Diffstat (limited to 'libavfilter/vf_blackdetect.c')
-rw-r--r--libavfilter/vf_blackdetect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c
index b5a1fadafc..6a51e2f290 100644
--- a/libavfilter/vf_blackdetect.c
+++ b/libavfilter/vf_blackdetect.c
@@ -151,8 +151,7 @@ static void end_frame(AVFilterLink *inlink)
av_log(ctx, AV_LOG_DEBUG,
"frame:%u picture_black_ratio:%f pos:%"PRId64" pts:%s t:%s type:%c\n",
blackdetect->frame_count, picture_black_ratio,
- picref->pos, av_ts2str(picref->pts),
- av_ts2timestr(blackdetect->black_start, &inlink->time_base),
+ picref->pos, av_ts2str(picref->pts), av_ts2timestr(picref->pts, &inlink->time_base),
av_get_picture_type_char(picref->video->pict_type));
if (picture_black_ratio >= blackdetect->picture_black_ratio_th) {