From 1e1b24c35996436e6cf0fe50ec046e2e03a0dbfa Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Sun, 29 Sep 2024 07:53:26 +0300 Subject: [PATCH] Show also current frame cache size in stats (#17056) --- gfx/video_driver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index bfbdf541e7..089b86b255 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -3935,7 +3935,8 @@ void video_driver_frame(const void *data, unsigned width, sizeof(video_info.stat_text), "CORE AV_INFO\n" " Size: %u x %u\n" - " Max Size: %u x %u\n" + " - Base: %u x %u\n" + " - Max: %u x %u\n" " Aspect: %3.3f\n" " FPS: %3.2f\n" " Sample Rate: %6.2f\n" @@ -3954,6 +3955,8 @@ void video_driver_frame(const void *data, unsigned width, " Blocking: %5.2f %%\n" " Samples: %8d\n" "%s", + video_st->frame_cache_width, + video_st->frame_cache_height, av_info->geometry.base_width, av_info->geometry.base_height, av_info->geometry.max_width,