mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 13:21:08 +00:00
Make ff_dprintf_ref() print audio related information if available.
Originally committed as revision 24849 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e29b451a51
commit
014df3a2aa
@ -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" : "");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user