[FFmpeg-cvslog] r25647 - trunk/libavfilter/vf_cropdetect.c
stefano
subversion
Tue Nov 2 20:42:03 CET 2010
Author: stefano
Date: Tue Nov 2 20:42:03 2010
New Revision: 25647
Log:
Make the cropdetect filter print the time for each frame, in addition
to the timestamp.
Modified:
trunk/libavfilter/vf_cropdetect.c
Modified: trunk/libavfilter/vf_cropdetect.c
==============================================================================
--- trunk/libavfilter/vf_cropdetect.c Tue Nov 2 19:40:59 2010 (r25646)
+++ trunk/libavfilter/vf_cropdetect.c Tue Nov 2 20:42:03 2010 (r25647)
@@ -182,8 +182,8 @@ static void end_frame(AVFilterLink *inli
y += (shrink_by/2 + 1) & ~1;
av_log(ctx, AV_LOG_INFO,
- "x1:%d x2:%d y1:%d y2:%d w:%d h:%d x:%d y:%d pos:%"PRId64" pts:%f crop=%d:%d:%d:%d\n",
- cd->x1, cd->x2, cd->y1, cd->y2, w, h, x, y, picref->pos,
+ "x1:%d x2:%d y1:%d y2:%d w:%d h:%d x:%d y:%d pos:%"PRId64" pts:%"PRId64" t:%f crop=%d:%d:%d:%d\n",
+ cd->x1, cd->x2, cd->y1, cd->y2, w, h, x, y, picref->pos, picref->pts,
picref->pts == AV_NOPTS_VALUE ? -1 : (double)picref->pts / AV_TIME_BASE,
w, h, x, y);
}
More information about the ffmpeg-cvslog
mailing list