소스 검색

Call on_output_changed also if just the camera changed, just to be safe

Kristian Vos 9 달 전
부모
커밋
a8e8d38018
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/process_pipeline.c

+ 1 - 1
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);