File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
local obs = obslua
8
8
local ffi = require (" ffi" )
9
- local VERSION = " 1.0.1 "
9
+ local VERSION = " 1.0"
10
10
local CROP_FILTER_NAME = " obs-zoom-to-mouse-crop"
11
11
12
12
local source_name = " "
@@ -195,7 +195,7 @@ function get_dc_info()
195
195
prop_type = " int"
196
196
}
197
197
elseif ffi .os == " OSX" then
198
- if major > 29.1 then
198
+ if major > 29.0 then
199
199
return {
200
200
source_id = " screen_capture" ,
201
201
prop_id = " display_uuid" ,
@@ -1065,7 +1065,6 @@ function log_current_settings()
1065
1065
}
1066
1066
1067
1067
log (" OBS Version: " .. string.format (" %.1f" , major ))
1068
- log (" Script Version: " .. VERSION )
1069
1068
log (" Current settings:" )
1070
1069
log (format_table (settings ))
1071
1070
end
@@ -1255,7 +1254,7 @@ end
1255
1254
1256
1255
function script_unload ()
1257
1256
-- Clean up the memory usage
1258
- if major > 29.0 then
1257
+ if major > 29.0 then -- 29.0 seems to crash if you do this, so we ignore it as the script is closing anyway
1259
1258
local transitions = obs .obs_frontend_get_transitions ()
1260
1259
if transitions ~= nil then
1261
1260
for i , s in pairs (transitions ) do
You can’t perform that action at this time.
0 commit comments