[vlc-commits] ncurses: display the number of late frames in the media stats

Steve Lhomme git at videolan.org
Thu Aug 13 14:07:52 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Aug 10 07:41:31 2020 +0200| [734954f8bafb472755a6d93a7ef323e39e3af0eb] | committer: Steve Lhomme

ncurses: display the number of late frames in the media stats

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=734954f8bafb472755a6d93a7ef323e39e3af0eb
---

 modules/gui/ncurses.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index e91ac5927c..83feac5e13 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -710,6 +710,8 @@ static int DrawStats(intf_thread_t *intf)
                 p_stats->i_decoded_video);
         MainBoxWrite(sys, l++, _("| frames displayed :    %5"PRIi64),
                 p_stats->i_displayed_pictures);
+        MainBoxWrite(sys, l++, _("| frames late      :    %5"PRIi64),
+                p_stats->i_late_pictures);
         MainBoxWrite(sys, l++, _("| frames lost      :    %5"PRIi64),
                 p_stats->i_lost_pictures);
     }



More information about the vlc-commits mailing list