This PR fix DeprecationWarning to works with Python >= 3.10 (In Python 3.10, a change was implemented where extension functions that take integer arguments will no longer silently accept non-integer arguments (e.g., floats) that can only be converted to integers with a loss of precision).
This problem occurs when using the Crop and Rotation filters (also the old timeline bar on Videomass <= 4.0.2). This leads to various stacktraces using Python >= 3.10
Closes #178
This PR fix
DeprecationWarning
to works with Python >= 3.10 (In Python 3.10, a change was implemented where extension functions that take integer arguments will no longer silently accept non-integer arguments (e.g., floats) that can only be converted to integers with a loss of precision).This problem occurs when using the Crop and Rotation filters (also the old timeline bar on Videomass <= 4.0.2). This leads to various stacktraces using Python >= 3.10