summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-20 15:16:10 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-20 15:16:10 +0000
commit014df3a2aaf22f23a547747711afa7b6611e94b6 (patch)
tree345ce46c6273146acd80ebcdaffc12b4943b3d4b /libavfilter
parente29b451a5192ddd27f666a62d7181a1eb1a93e8a (diff)
Make ff_dprintf_ref() print audio related information if available.
Originally committed as revision 24849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f3a9c1ff48..cfdaa82cc5 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -206,6 +206,15 @@ void ff_dprintf_ref(void *ctx, AVFilterBufferRef *ref, int end)
!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" : "");
}