From bc9b313ea9eb245f989687477e483c3409db112e Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 4 Apr 2023 14:50:17 +0200 Subject: [PATCH] rpi4_out.cpp: moved thread_id to correct structure --- src/video_display/rpi4_out.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_display/rpi4_out.cpp b/src/video_display/rpi4_out.cpp index a7942c66d..f400ab26b 100644 --- a/src/video_display/rpi4_out.cpp +++ b/src/video_display/rpi4_out.cpp @@ -167,8 +167,6 @@ private: mmal_component_unique renderer_component; mmal_pool_unique pool; av_zc_env_unique zero_copy_env; - - std::thread thread_id; }; void Rpi4_video_out::resize(int width, int height){ @@ -361,6 +359,8 @@ struct rpi4_display_state{ std::mutex free_frames_mut; std::stack free_frames; + std::thread thread_id; + int requested_pos_x = 0; int requested_pos_y = 0; int force_w = 0;