[FFmpeg-cvslog] r25648 - trunk/libavfilter/vf_blackframe.c

stefano subversion
Tue Nov 2 20:42:05 CET 2010


Author: stefano
Date: Tue Nov  2 20:42:05 2010
New Revision: 25648

Log:
Make the blackframe filter print the time, in addition to the
timestamp, for each detected black frame.

Modified:
   trunk/libavfilter/vf_blackframe.c

Modified: trunk/libavfilter/vf_blackframe.c
==============================================================================
--- trunk/libavfilter/vf_blackframe.c	Tue Nov  2 20:42:03 2010	(r25647)
+++ trunk/libavfilter/vf_blackframe.c	Tue Nov  2 20:42:05 2010	(r25648)
@@ -97,8 +97,8 @@ static void end_frame(AVFilterLink *inli
 
     pblack = blackframe->nblack * 100 / (inlink->w * inlink->h);
     if (pblack >= blackframe->bamount)
-        av_log(ctx, AV_LOG_INFO, "frame:%u pblack:%u pos:%"PRId64" pts:%f\n",
-               blackframe->frame, pblack, picref->pos,
+        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);
 
     blackframe->frame++;



More information about the ffmpeg-cvslog mailing list