[vlc-commits] ncurses: do not show nonexistent sout stats

Rémi Denis-Courmont git at videolan.org
Tue Dec 12 20:02:05 CET 2017


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 12 20:20:07 2017 +0200| [39679f4d2de05fca85be2fdff4bd22a2b644ae59] | committer: Rémi Denis-Courmont

ncurses: do not show nonexistent sout stats

(cherry picked from commit d122a3e643f208860a058a87934eae272fb7c9cb)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=39679f4d2de05fca85be2fdff4bd22a2b644ae59
---

 modules/gui/ncurses.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 6ed98558ec..a78cf2b197 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -840,15 +840,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(&p_stats->lock);



More information about the vlc-commits mailing list