Skip to content

Commit

Permalink
[apps] Output json stats values as numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Jun 15, 2021
1 parent e761745 commit e63b358
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/apputil.cpp
Expand Up @@ -484,7 +484,6 @@ class SrtStatsJson : public SrtStatsWriter
string WriteStats(int sid, const CBytePerfMon& mon) override
{
std::ostringstream output;
static const string qt = R"(")";

string pretty_cr, pretty_tab;
if (Option("pretty"))
Expand Down Expand Up @@ -540,9 +539,7 @@ class SrtStatsJson : public SrtStatsWriter

// Print the current field
output << quotekey(i->name);
output << qt;
i->PrintValue(output, mon);
output << qt;
}

// Close the previous subcategory
Expand Down

0 comments on commit e63b358

Please sign in to comment.