[FFmpeg-cvslog] ffplay: group together and vertically align correlated parameters in log function

Stefano Sabatini git at videolan.org
Fri Jun 29 23:18:43 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jun 28 23:51:19 2012 +0200| [94a00ec8af342e037c50c64214546c7673745040] | committer: Stefano Sabatini

ffplay: group together and vertically align correlated parameters in log function

Possibly improve readability.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94a00ec8af342e037c50c64214546c7673745040
---

 ffplay.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index de78db9..df66a2e 100644
--- a/ffplay.c
+++ b/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;



More information about the ffmpeg-cvslog mailing list