From 4ceadc74f0086168fbc576032ba3e6f23af16e39 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 13 Apr 2026 17:36:54 -0400 Subject: Changes that went uncommitted for too long Signed-off-by: Andrew Opalach --- src/render/queue_libplacebo.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'src/render/queue_libplacebo.h') diff --git a/src/render/queue_libplacebo.h b/src/render/queue_libplacebo.h index 0d49000..f72cb88 100644 --- a/src/render/queue_libplacebo.h +++ b/src/render/queue_libplacebo.h @@ -4,7 +4,6 @@ #ifdef CAMU_HAVE_FFMPEG #include AL_IGNORE_WARNING("-Wswitch") -AL_IGNORE_WARNING("-Wunused-parameter") // PL_LIBAV_IMPLEMENTATION defined in queue_libplacebo.c. #include AL_IGNORE_WARNING_END @@ -25,13 +24,17 @@ struct camu_frame_queue_lp { AVFrame *swframe; #endif #ifdef CAMU_HAVE_SUBTITLES - ASS_Library *ass; - ASS_Renderer *ass_renderer; - ASS_Track *ass_track; - struct nn_mutex subtitle_lock; - struct camu_overlay *last_subtitle; - array(struct camu_overlay *) subtitles; - bool has_subtitles; + struct { + bool are_present; + bool conversion_needed; + AVCodecContext *converter; + ASS_Library *ass; + ASS_Renderer *renderer; + ASS_Track *track; + struct camu_overlay *last; + array(struct camu_overlay *) overlays; + struct nn_mutex lock; + } subs; #endif }; -- cgit v1.2.3-101-g0448