This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S = obslua | |
samples = 360 / 60 | |
local function skip_tick_render(ctx) | |
local target = S.obs_filter_get_target(ctx.source) | |
local width, height; | |
if target == nil then width = 0; height = 0; else | |
width = S.obs_source_get_base_width(target) | |
height = S.obs_source_get_base_height(target) |