msg: remove the useless trailing comment from stats dumping

The origin of the stats line was added as a comment (starting with '#').
It was useless and just blowing up file sizes.
This commit is contained in:
wm4 2015-10-14 18:50:58 +02:00
parent 184426175f
commit da496ae2fe
1 changed files with 2 additions and 4 deletions

View File

@ -326,10 +326,8 @@ static void write_msg_to_buffers(struct mp_log *log, int lev, char *text)
static void dump_stats(struct mp_log *log, int lev, char *text)
{
struct mp_log_root *root = log->root;
if (lev == MSGL_STATS && root->stats_file) {
fprintf(root->stats_file, "%"PRId64" %s #%s\n", mp_time_us(), text,
log->verbose_prefix);
}
if (lev == MSGL_STATS && root->stats_file)
fprintf(root->stats_file, "%"PRId64" %s\n", mp_time_us(), text);
}
void mp_msg_va(struct mp_log *log, int lev, const char *format, va_list va)