[vlc-devel] [PATCH] libvlc: remove unused sout stats

Rémi Denis-Courmont remi at remlab.net
Tue Oct 22 12:08:57 CEST 2019


Ok because we break the ABI anyway.

Le 22 octobre 2019 12:42:30 GMT+03:00, Steve Lhomme <robux4 at ycbcr.xyz> a écrit :
>---
> include/vlc/libvlc_media.h | 5 -----
> lib/media.c                | 4 ----
> 2 files changed, 9 deletions(-)
>
>diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
>index aab025ae28e..68611812703 100644
>--- a/include/vlc/libvlc_media.h
>+++ b/include/vlc/libvlc_media.h
>@@ -133,11 +133,6 @@ typedef struct libvlc_media_stats_t
>     /* Audio output */
>     int         i_played_abuffers;
>     int         i_lost_abuffers;
>-
>-    /* Stream output */
>-    int         i_sent_packets;
>-    int         i_sent_bytes;
>-    float       f_send_bitrate;
> } libvlc_media_stats_t;
> 
> typedef struct libvlc_audio_track_t
>diff --git a/lib/media.c b/lib/media.c
>index dd0513633f6..8860a9e1aa1 100644
>--- a/lib/media.c
>+++ b/lib/media.c
>@@ -728,10 +728,6 @@ bool libvlc_media_get_stats(libvlc_media_t *p_md,
>     p_stats->i_played_abuffers = p_itm_stats->i_played_abuffers;
>     p_stats->i_lost_abuffers = p_itm_stats->i_lost_abuffers;
> 
>-    p_stats->i_sent_packets = 0;
>-    p_stats->i_sent_bytes = 0;
>-    p_stats->f_send_bitrate = 0.;
>-
>     vlc_mutex_unlock( &item->lock );
>     return true;
> }
>-- 
>2.17.1
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20191022/3bd88056/attachment.html>


More information about the vlc-devel mailing list