Skip to content

Commit

Permalink
use gpu resize.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki committed Mar 2, 2024
1 parent 02b2d30 commit b73168f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/push-widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class PushWidgetImpl : public PushWidget, public IOBSOutputEventHanlder
{
auto width = std::stoi(match[1].str());
auto height = std::stoi(match[2].str());
obs_encoder_set_gpu_scale_type(venc, obs_scale_type::OBS_SCALE_BICUBIC);
obs_encoder_set_scaled_size(venc, width, height);
}
}
Expand Down

1 comment on commit b73168f

@wiryawanadipa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you also make GPU resize use bilinear? bicubic is horrible when downscaling from 1440p to 720p

Please sign in to comment.