%d | %s | %"PRId64
" | %s | %s\n",
i, type, (int64_t)st->codecpar->bit_rate/1000,
codec ? codec->name : "", parameters);
@@ -1979,8 +1979,8 @@ static void compute_status(HTTPContext *c)
avio_printf(pb, "%s Status\n", program_name);
/* format status */
avio_printf(pb, "Available Streams\n");
- avio_printf(pb, "\n");
- avio_printf(pb, "Path | Served Conns | bytes | Format | Bit rate kbit/s | Video kbit/s | Codec | Audio kbit/s | Codec | Feed\n");
+ avio_printf(pb, "\n");
+ avio_printf(pb, "Path | Served Conns | bytes | Format | Bit rate kbit/s | Video kbit/s | Codec | Audio kbit/s | Codec | Feed\n");
stream = config.first_stream;
while (stream) {
char sfilename[1024];
@@ -2014,7 +2014,7 @@ static void compute_status(HTTPContext *c)
avio_printf(pb, " |
---|
%s ",
sfilename, stream->filename);
- avio_printf(pb, " | %d | ",
+ avio_printf(pb, " | %d | ",
stream->conns_served);
// TODO: Investigate if we can make http bitexact so it always produces the same count of bytes
if (!config.bitexact)
@@ -2058,8 +2058,7 @@ static void compute_status(HTTPContext *c)
}
}
- avio_printf(pb, " | %s | %d "
- " | %d | %s %s | "
+ avio_printf(pb, " | %s | %d | %d | %s %s | "
"%d | %s %s",
stream->fmt->name, stream->bandwidth,
video_bit_rate / 1000, video_codec_name,
@@ -2074,8 +2073,8 @@ static void compute_status(HTTPContext *c)
}
break;
default:
- avio_printf(pb, " | - | - "
- " | - | | - | \n");
+ avio_printf(pb, " | - | - "
+ " | - | | - | \n");
break;
}
stream = stream->next;
@@ -2158,16 +2157,16 @@ static void compute_status(HTTPContext *c)
p = inet_ntoa(c1->from_addr.sin_addr);
clean_html(c1->clean_url, sizeof(c1->clean_url), c1->url);
avio_printf(pb, " | %d | %s%s | %s | %s | %s | %s"
- " | ",
+ " | ",
i, c1->stream ? c1->stream->filename : "",
c1->state == HTTPSTATE_RECEIVE_DATA ? "(input)" : "",
p,
c1->clean_url,
c1->protocol, http_state[c1->state]);
fmt_bytecount(pb, bitrate);
- avio_printf(pb, " | ");
+ avio_printf(pb, " | ");
fmt_bytecount(pb, compute_datarate(&c1->datarate, c1->data_count) * 8);
- avio_printf(pb, " | ");
+ avio_printf(pb, " | ");
fmt_bytecount(pb, c1->data_count);
avio_printf(pb, "\n");
c1 = c1->next;
@@ -2178,7 +2177,7 @@ static void compute_status(HTTPContext *c)
/* date */
ti = time(NULL);
p = ctime(&ti);
- avio_printf(pb, " Generated at %s", p);
+ avio_printf(pb, " Generated at %s", p);
}
avio_printf(pb, " | |
---|
|