[FFmpeg-cvslog] r24845 - trunk/libavfilter/avfilter.c

stefano subversion
Fri Aug 20 16:41:24 CEST 2010


Author: stefano
Date: Fri Aug 20 16:41:23 2010
New Revision: 24845

Log:
Extend ff_dprintf_picref() to make it print video interlaced and
top_field_first information.

Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	Fri Aug 20 16:41:21 2010	(r24844)
+++ trunk/libavfilter/avfilter.c	Fri Aug 20 16:41:23 2010	(r24845)
@@ -201,9 +201,11 @@ void ff_dprintf_picref(void *ctx, AVFilt
             picref->pts, picref->pos);
 
     if (picref->video) {
-        dprintf(ctx, " a:%d/%d s:%dx%d",
+        dprintf(ctx, " a:%d/%d s:%dx%d i:%c",
                 picref->video->pixel_aspect.num, picref->video->pixel_aspect.den,
-                picref->video->w, picref->video->h);
+                picref->video->w, picref->video->h,
+                !picref->video->interlaced     ? 'P' :         /* Progressive  */
+                picref->video->top_field_first ? 'T' : 'B');   /* Top / Bottom */
     }
     dprintf(ctx, "]%s", end ? "\n" : "");
 }



More information about the ffmpeg-cvslog mailing list