Skip to content

Commit

Permalink
Aspect option affects any Scale Transform filter, instead of by name
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Sep 23, 2019
1 parent 0ff30c7 commit 0c6e6c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdq-crop.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ void modifyScaleFilter(obs_source_t *parent, obs_source_t *child, void *param) {
else if (strcmp(resolutionName, "override [Do not use!]") == 0)
return;

const char* name = obs_source_get_name(child);
if (strcmp(name, "GDQ Scale") == 0) {
const char* name = obs_source_get_id(child);
if (strcmp(name, "scale_filter") == 0) {
obs_data_t* filtersettings = obs_source_get_settings(child);
obs_data_set_string(filtersettings, S_RESOLUTION, res);
obs_source_update(child, filtersettings);
Expand Down

0 comments on commit 0c6e6c3

Please sign in to comment.