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 66
77local obs = obslua
88local ffi = require (" ffi" )
9- local VERSION = " 1.0.1 "
9+ local VERSION = " 1.0"
1010local CROP_FILTER_NAME = " obs-zoom-to-mouse-crop"
1111
1212local source_name = " "
@@ -195,7 +195,7 @@ function get_dc_info()
195195 prop_type = " int"
196196 }
197197 elseif ffi .os == " OSX" then
198- if major > 29.1 then
198+ if major > 29.0 then
199199 return {
200200 source_id = " screen_capture" ,
201201 prop_id = " display_uuid" ,
@@ -1065,7 +1065,6 @@ function log_current_settings()
10651065 }
10661066
10671067 log (" OBS Version: " .. string.format (" %.1f" , major ))
1068- log (" Script Version: " .. VERSION )
10691068 log (" Current settings:" )
10701069 log (format_table (settings ))
10711070end
@@ -1255,7 +1254,7 @@ end
12551254
12561255function script_unload ()
12571256 -- 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
12591258 local transitions = obs .obs_frontend_get_transitions ()
12601259 if transitions ~= nil then
12611260 for i , s in pairs (transitions ) do
You can’t perform that action at this time.
0 commit comments