[vlc-commits] ncurses: do not show nonexistent sout stats
Rémi Denis-Courmont
git at videolan.org
Tue Dec 12 19:36:49 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 12 20:20:07 2017 +0200| [d122a3e643f208860a058a87934eae272fb7c9cb] | committer: Rémi Denis-Courmont
ncurses: do not show nonexistent sout stats
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d122a3e643f208860a058a87934eae272fb7c9cb
---
modules/gui/ncurses.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 21fabac77b..5416e1daa6 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -839,15 +839,6 @@ static int DrawStats(intf_thread_t *intf, input_thread_t *p_input)
MainBoxWrite(sys, l++, _("| buffers lost : %5"PRIi64),
p_stats->i_lost_abuffers);
}
- /* Sout */
- if (sys->color) color_set(C_CATEGORY, NULL);
- MainBoxWrite(sys, l++, _("+-[Streaming]"));
- if (sys->color) color_set(C_DEFAULT, NULL);
- MainBoxWrite(sys, l++, _("| packets sent : %5"PRIi64), p_stats->i_sent_packets);
- MainBoxWrite(sys, l++, _("| bytes sent : %8.0f KiB"),
- (float)(p_stats->i_sent_bytes)/1025);
- MainBoxWrite(sys, l++, _("| sending bitrate : %6.0f kb/s"),
- p_stats->f_send_bitrate*8000);
if (sys->color) color_set(C_DEFAULT, NULL);
vlc_mutex_unlock(&item->lock);
More information about the vlc-commits
mailing list