mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/blackdetect: fix pts time debug printing
This commit is contained in:
parent
bef8fd7099
commit
5bc87f1cd6
|
@ -151,8 +151,7 @@ static void end_frame(AVFilterLink *inlink)
|
||||||
av_log(ctx, AV_LOG_DEBUG,
|
av_log(ctx, AV_LOG_DEBUG,
|
||||||
"frame:%u picture_black_ratio:%f pos:%"PRId64" pts:%s t:%s type:%c\n",
|
"frame:%u picture_black_ratio:%f pos:%"PRId64" pts:%s t:%s type:%c\n",
|
||||||
blackdetect->frame_count, picture_black_ratio,
|
blackdetect->frame_count, picture_black_ratio,
|
||||||
picref->pos, av_ts2str(picref->pts),
|
picref->pos, av_ts2str(picref->pts), av_ts2timestr(picref->pts, &inlink->time_base),
|
||||||
av_ts2timestr(blackdetect->black_start, &inlink->time_base),
|
|
||||||
av_get_picture_type_char(picref->video->pict_type));
|
av_get_picture_type_char(picref->video->pict_type));
|
||||||
|
|
||||||
if (picture_black_ratio >= blackdetect->picture_black_ratio_th) {
|
if (picture_black_ratio >= blackdetect->picture_black_ratio_th) {
|
||||||
|
|
Loading…
Reference in New Issue