mirror of https://github.com/mpv-player/mpv
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.
This commit is contained in:
parent
823f2c603d
commit
3eb6607e5e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue