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

stefano subversion
Fri Aug 20 17:16:11 CEST 2010


Author: stefano
Date: Fri Aug 20 17:16:10 2010
New Revision: 24849

Log:
Make ff_dprintf_ref() print audio related information if available.

Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	Fri Aug 20 17:16:07 2010	(r24848)
+++ trunk/libavfilter/avfilter.c	Fri Aug 20 17:16:10 2010	(r24849)
@@ -206,6 +206,15 @@ void ff_dprintf_ref(void *ctx, AVFilterB
                 !ref->video->interlaced     ? 'P' :         /* Progressive  */
                 ref->video->top_field_first ? 'T' : 'B');   /* Top / Bottom */
     }
+    if (ref->audio) {
+        dprintf(ctx, " cl:%"PRId64"d sn:%d s:%d sr:%d p:%d",
+                ref->audio->channel_layout,
+                ref->audio->samples_nb,
+                ref->audio->size,
+                ref->audio->sample_rate,
+                ref->audio->planar);
+    }
+
     dprintf(ctx, "]%s", end ? "\n" : "");
 }
 



More information about the ffmpeg-cvslog mailing list