From c66c7c64ebd16287b892f8a780cffcabafba3799 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 7 Sep 2026 15:06:14 -0400 Subject: Better OSD behavior, lots of build stuff Signed-off-by: Andrew Opalach --- src/buffer/common.h | 3 ++- src/buffer/video.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/buffer') diff --git a/src/buffer/common.h b/src/buffer/common.h index 701969f..aaf53ea 100644 --- a/src/buffer/common.h +++ b/src/buffer/common.h @@ -5,7 +5,8 @@ #include #define ROLL_FOR_BUFFER_ERROR(buf) do { \ if (al_random_int(0, 254) == 72) { \ - al_atomic_store(u32)(&(buf)->flow, FLUSHED_ERROR, AL_ATOMIC_RELAXED); \ + log_warn("Random buffer error proc."); \ + atomic_store(u32)(&(buf)->flow, FLUSHED_ERROR, AL_ATOMIC_RELAXED); \ } \ } while (0) #endif diff --git a/src/buffer/video.c b/src/buffer/video.c index f7d5e98..19d7aa7 100644 --- a/src/buffer/video.c +++ b/src/buffer/video.c @@ -178,7 +178,7 @@ void camu_video_buffer_push(struct camu_video_buffer *buf, struct camu_codec_fra if (flow != FLOWING) { // A static buffer will be FLUSHED after any push(). if (buf->is_static) { - log_warn("Unexpected duplicate frame received."); + log_error("Unexpected duplicate frame received."); } camu_codec_frame_discard(frame); return; -- cgit v1.2.3-101-g0448