From e1920cb73890fcf7ac330bb04bab8a8143a4bc2e Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 18 May 2021 11:13:44 +0200 Subject: [PATCH] VRG: print debug message if dropping frame --- src/video_display/vrg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video_display/vrg.cpp b/src/video_display/vrg.cpp index 00861451c..481f9d7f7 100644 --- a/src/video_display/vrg.cpp +++ b/src/video_display/vrg.cpp @@ -321,6 +321,7 @@ static int display_vrg_putf(void *state, struct video_frame *frame, int flags) unique_lock lk(s->lock); if ((flags & PUTF_NONBLOCK) != 0u && s->queue.size() >= MAX_QUEUE_SIZE) { + LOG(LOG_LEVEL_DEBUG) << MOD_NAME << "Dropping frame - queue full!\n"; vf_free(frame); return 1; }