[vlc-commits] libvlc: remove unused sout stats
Steve Lhomme
git at videolan.org
Wed Oct 23 11:17:17 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 22 11:42:18 2019 +0200| [ef4b89c35f25255845bd0c556f97372a5758b41b] | committer: Steve Lhomme
libvlc: remove unused sout stats
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ef4b89c35f25255845bd0c556f97372a5758b41b
---
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 aab025ae28..6861181270 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 dd0513633f..8860a9e1aa 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;
}
More information about the vlc-commits
mailing list