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

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


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

Old RC: do not show nonexistent sout stats

(cherry picked from commit 3fccdd190b3dd5a1b8f6fc1295ce51d4c80584c8)

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

 modules/control/oldrc.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/control/oldrc.c b/modules/control/oldrc.c
index 66402293a5..cda965e53c 100644
--- a/modules/control/oldrc.c
+++ b/modules/control/oldrc.c
@@ -1751,15 +1751,6 @@ static int updateStatistics( intf_thread_t *p_intf, input_item_t *p_item )
     msg_rc(_("| buffers lost     :    %5"PRIi64),
             p_item->p_stats->i_lost_abuffers );
     msg_rc("|");
-    /* Sout */
-    msg_rc("%s", _("+-[Streaming]"));
-    msg_rc(_("| packets sent     :    %5"PRIi64),
-           p_item->p_stats->i_sent_packets );
-    msg_rc(_("| bytes sent       : %8.0f KiB"),
-            (float)(p_item->p_stats->i_sent_bytes)/1024 );
-    msg_rc(_("| sending bitrate  :   %6.0f kb/s"),
-            (float)(p_item->p_stats->f_send_bitrate*8)*1000 );
-    msg_rc("|");
     msg_rc( "+----[ end of statistical info ]" );
     vlc_mutex_unlock( &p_item->p_stats->lock );
     vlc_mutex_unlock( &p_item->lock );



More information about the vlc-commits mailing list