Skip to content

Commit

Permalink
UI: Always set GPU scaling parameters
Browse files Browse the repository at this point in the history
These are a no-op if the configuration matches OBS's main video.
This is also already the case with to-be-upstreamed multi-view changes.
  • Loading branch information
dsaedtler committed Oct 22, 2024
1 parent 7f65c43 commit a6e19f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions UI/multitrack-video-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,6 @@ static void adjust_video_encoder_scaling(const obs_video_info &ovi, obs_encoder_
auto requested_width = encoder_config.width;
auto requested_height = encoder_config.height;

if (ovi.output_width == requested_width || ovi.output_height == requested_height)
return;

if (ovi.base_width < requested_width || ovi.base_height < requested_height) {
blog(LOG_WARNING,
"Requested resolution exceeds canvas/available resolution for encoder %zu: %" PRIu32 "x%" PRIu32
Expand Down

0 comments on commit a6e19f0

Please sign in to comment.