Commit f89e868
committed
review: address Copilot feedback on ProRes encoder integration
video.h:
is_known_video_format() now uses `< SUNSHINE_FORMAT_COUNT` instead of
the hardcoded `<= SUNSHINE_FORMAT_PRORES` upper bound. Future codecs
are now a one-enum-bump change.
video.cpp:
require_prores binds to the immutable config::video.prores_mode rather
than the mutable active_prores_mode. adjust_encoder_constraints() may
demote active_prores_mode to 0; reading the immutable source keeps the
"user explicitly asked for forced ProRes" intent intact so we fail
loudly instead of silently picking a non-ProRes encoder.
cmake/dependencies/macos.cmake:
Pull in the SCREEN_CAPTURE_KIT_LIBRARY REQUIRED change too — this PR
stacks on the SCK backend PR and needs the same SDK enforcement.
Addresses Copilot inline feedback from the closed upstream PR cycle.1 parent 0086784 commit f89e868
2 files changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1172 | 1177 | | |
1173 | 1178 | | |
1174 | 1179 | | |
1175 | 1180 | | |
1176 | 1181 | | |
1177 | | - | |
1178 | 1182 | | |
1179 | 1183 | | |
1180 | 1184 | | |
| |||
2930 | 2934 | | |
2931 | 2935 | | |
2932 | 2936 | | |
2933 | | - | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
2934 | 2945 | | |
2935 | 2946 | | |
2936 | 2947 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments