aboutsummaryrefslogtreecommitdiffhomepage
path: root/player
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-03-26 14:13:36 +0200
committerGravatar wm4 <wm4@nowhere>2017-03-26 14:13:36 +0200
commit3eb6607e5e3137e7801c669952f715b626f7afb0 (patch)
tree04f4a7a76d17f67f92a30637170bb9f1d26c0d15 /player
parent823f2c603d6e7914ddad6bda0f225f7e63b36bcf (diff)
player: make new stream output more consistent with other output
It seems we generally skip the space, such as seen on the AO init line.
Diffstat (limited to 'player')
-rw-r--r--player/loadfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 769a1a5254..7c6894033d 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -137,12 +137,12 @@ static void print_stream(struct MPContext *mpctx, struct track *t)
if (s && s->codec->disp_w)
APPEND(b, " %dx%d", s->codec->disp_w, s->codec->disp_h);
if (s && s->codec->fps)
- APPEND(b, " %.3f Hz", s->codec->fps);
+ APPEND(b, " %.3ffps", s->codec->fps);
} else if (t->type == STREAM_AUDIO) {
if (s && s->codec->channels.num)
- APPEND(b, " %d ch", s->codec->channels.num);
+ APPEND(b, " %dch", s->codec->channels.num);
if (s && s->codec->samplerate)
- APPEND(b, " %d Hz", s->codec->samplerate);
+ APPEND(b, " %dHz", s->codec->samplerate);
}
APPEND(b, ")");
if (t->is_external)