mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffplay: group together and vertically align correlated parameters in log function
Possibly improve readability.
This commit is contained in:
parent
8179660222
commit
94a00ec8af
8
ffplay.c
8
ffplay.c
@ -1972,12 +1972,8 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
|
||||
0, NULL);
|
||||
if (!is->swr_ctx || swr_init(is->swr_ctx) < 0) {
|
||||
fprintf(stderr, "Cannot create sample rate converter for conversion of %d Hz %s %d channels to %d Hz %s %d channels!\n",
|
||||
dec->sample_rate,
|
||||
av_get_sample_fmt_name(dec->sample_fmt),
|
||||
dec->channels,
|
||||
is->audio_tgt.freq,
|
||||
av_get_sample_fmt_name(is->audio_tgt.fmt),
|
||||
is->audio_tgt.channels);
|
||||
dec->sample_rate, av_get_sample_fmt_name(dec->sample_fmt), dec->channels,
|
||||
is->audio_tgt.freq, av_get_sample_fmt_name(is->audio_tgt.fmt), is->audio_tgt.channels);
|
||||
break;
|
||||
}
|
||||
is->audio_src.channel_layout = dec_channel_layout;
|
||||
|
Loading…
Reference in New Issue
Block a user