Commit 6d2a3a9b authored by Jean-Paul Saman's avatar Jean-Paul Saman

libvlc_media.h: use the right types in libvlc_media_stats_t

In libvlccore the stats are int64_t, thus make libvlc_media_stats_t use them too.
parent 2b29fe15
...@@ -120,30 +120,30 @@ typedef enum libvlc_track_type_t ...@@ -120,30 +120,30 @@ typedef enum libvlc_track_type_t
typedef struct libvlc_media_stats_t typedef struct libvlc_media_stats_t
{ {
/* Input */ /* Input */
int i_read_bytes; int64_t i_read_bytes;
float f_input_bitrate; float f_input_bitrate;
/* Demux */ /* Demux */
int i_demux_read_bytes; int64_t i_demux_read_bytes;
float f_demux_bitrate; float f_demux_bitrate;
int i_demux_corrupted; int64_t i_demux_corrupted;
int i_demux_discontinuity; int64_t i_demux_discontinuity;
/* Decoders */ /* Decoders */
int i_decoded_video; int64_t i_decoded_video;
int i_decoded_audio; int64_t i_decoded_audio;
/* Video Output */ /* Video Output */
int i_displayed_pictures; int64_t i_displayed_pictures;
int i_lost_pictures; int64_t i_lost_pictures;
/* Audio output */ /* Audio output */
int i_played_abuffers; int64_t i_played_abuffers;
int i_lost_abuffers; int64_t i_lost_abuffers;
/* Stream output */ /* Stream output */
int i_sent_packets; int64_t i_sent_packets;
int i_sent_bytes; int64_t i_sent_bytes;
float f_send_bitrate; float f_send_bitrate;
} libvlc_media_stats_t; } libvlc_media_stats_t;
/** @}*/ /** @}*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment