]> git.sesse.net Git - vlc/blobdiff - src/input/input.c
stats: Add stream quality counters to Qt4 stastics by counting corrupted blocks and...
[vlc] / src / input / input.c
index 073557323c5b221c00fb1ac160542ba9f1627548..bdf91af2bceadf26fbf01a36793504aaa64167a1 100644 (file)
@@ -801,6 +801,8 @@ static void InitStatistics( input_thread_t * p_input )
         INIT_COUNTER( demux_read, INTEGER, COUNTER );
         INIT_COUNTER( input_bitrate, FLOAT, DERIVATIVE );
         INIT_COUNTER( demux_bitrate, FLOAT, DERIVATIVE );
+        INIT_COUNTER( demux_corrupted, INTEGER, COUNTER );
+        INIT_COUNTER( demux_discontinuity, INTEGER, COUNTER );
         INIT_COUNTER( played_abuffers, INTEGER, COUNTER );
         INIT_COUNTER( lost_abuffers, INTEGER, COUNTER );
         INIT_COUNTER( displayed_pictures, INTEGER, COUNTER );