From a8e8d38018bb84af692efab4713ca3af126464a4 Mon Sep 17 00:00:00 2001 From: Kristian Vos Date: Thu, 1 Aug 2024 12:49:39 +0200 Subject: [PATCH] Call on_output_changed also if just the camera changed, just to be safe --- src/process_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process_pipeline.c b/src/process_pipeline.c index 1ca4998..bd6d059 100644 --- a/src/process_pipeline.c +++ b/src/process_pipeline.c @@ -1332,7 +1332,7 @@ update_state(MPPipeline *pipeline, const mp_state_proc *new_state) } } - if (output_changed) { + if (output_changed || camera_changed) { state_proc.camera_rotation = mod( state_proc.mode->rotation - state_proc.device_rotation, 360);