From 8f208c26b6fa1a9f3372679c047cab559c06e26b Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 14 Sep 2026 08:57:42 -0400 Subject: Server-side fixes from DIRECT_MODE testing Signed-off-by: Andrew Opalach --- src/render/renderer_libplacebo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/render/renderer_libplacebo.c') diff --git a/src/render/renderer_libplacebo.c b/src/render/renderer_libplacebo.c index c0a413a..d098444 100644 --- a/src/render/renderer_libplacebo.c +++ b/src/render/renderer_libplacebo.c @@ -756,11 +756,11 @@ static bool renderer_lp_render(struct camu_renderer *renderer, struct camu_scree lr->params.hooks = NULL; lr->params.num_hooks = 0; - // Considerations about the result of the loop above. - // 1. Any given call to video_buffer_read() may not produce a frame. - // 2. If any buffer signals EOF, by the time run_queue() is called at the bottom of the loop, - // all previous buffers could have been queued for removal. Meaning scr->videos would be - // empty while there could still be data we want to display rendered to the frame. + // Considerations for result. + // 1. Any given call to video_buffer_read() may not produce a frame. + // 2. If any buffer signals EOF, by the time run_queue() is called at the bottom of the loop, + // all previous buffers may have been queued for removal. Meaning scr->videos could be + // empty while there's still data we want to display rendered to the frame. if (!(result & RESULT_SUBMIT) && !force) { nn_thread_sleep(NNWT_TS_FROM_USEC(256)); return true; -- cgit v1.2.3-101-g0448