Mike-Solar
e85c6cf60a
fix: OFX param instance lifecycle and thread-safety fixes
...
- Fix SIGSEGV in PluginMisc.Keyer by linking Param::SetInstance to instances.
Olive's custom param instances (IntegerInstance, DoubleInstance, etc.) were
not passing the SetInstance pointer to the OpenFX HostSupport base class,
leaving _paramSetInstance as nullptr. When Keyer called paramSetValue during
createInstanceAction, the suite function dereferenced the null pointer in
paramChangedByPlugin(). Now newParam() passes 'this' to every constructor.
- Fix render-thread crash when OFX plugins set params during rendering.
MinOFX calls paramSetValue inside createInstanceAction from the render
thread. SubmitUndoCommand() used to push undo commands directly to
UndoStack, which modifies QAction state (GUI-only). Added IsGuiThread()
check: non-GUI threads execute redo_now() and discard the command without
touching the undo stack.
- Enable PluginMisc.MergeOver and PluginMisc.Keyer integration tests.
MergeOver now supplies both Source and Bg textures; Keyer uses U16 format.
Both pass in the full test suite.
- Make ViewerQueue thread-safe with QMutex around AppendTimewise/PurgeBefore.
Adds copy ctor and assignment to support mutex-per-instance semantics.
2026-05-14 22:32:34 +08:00
Mike-Solar
f3c50017e9
rendering still not correct
2026-04-19 18:59:56 +08:00
Mike-Solar
3b5b0187cb
fix chroma keyer
2026-04-12 01:42:27 +08:00
Mike-Solar
eb79be87a4
add smoke test
2026-04-12 01:26:41 +08:00
Mike-Solar
843b8762f6
fix audio bug
2026-04-12 01:08:22 +08:00
Mike-Solar
bfb1b2fce4
update copyright back
2026-01-16 21:22:05 +08:00
Mike-Solar
4d393f3d23
尝试解决插件bug
2026-01-10 18:56:58 +08:00
Mike-Solar
e37972b227
Try to fix plugin issue
2026-01-05 21:31:35 +08:00
Mike-Solar
b8669f6a11
Change project name;
2026-01-05 16:22:26 +08:00
Mike-Solar
cdc66d1a02
fix no video shown
2026-01-05 13:52:02 +08:00
Mike-Solar
21d5ed5f59
完善测试
2026-01-05 04:02:05 +08:00
Mike-Solar
4b97a66f17
添加测试
2026-01-05 03:52:02 +08:00
Mike-Solar
79f376b512
修复bug
2026-01-05 03:40:36 +08:00
Mike-Solar
8263ccf814
修正测试
2026-01-05 03:11:34 +08:00
Mike-Solar
1f679551f2
添加测试
2026-01-05 02:55:21 +08:00
Mike Solar
6fdfd03ffd
update: update copyright
2025-08-05 17:12:49 +08:00
Mike Solar
74f73ab3be
change: change code style to Linux style except indent.
2025-08-03 03:09:40 +08:00
itsmattkc
1781311e6f
tests: fix bad includes
2023-02-21 19:57:57 -08:00
itsmattkc
1a1fe485a1
tests: moved some tests to the core lib
2023-01-26 16:24:59 -08:00
itsmattkc
d65722d79d
tests: update test for new code
2022-09-16 01:12:56 -07:00
itsmattkc
29908f2d8b
math: revised timestamp calculations around epsilon
2022-05-29 11:13:05 -07:00
itsmattkc
4694485f2d
tests: remove now obsolete test
2022-05-18 22:31:01 -07:00
itsmattkc
4b366a9b73
update copyright year to 2022
2022-05-10 10:38:56 -07:00
Thomas Wilshaw
1e3e620269
timeline-tests: Setup config before running
2022-03-09 14:05:27 +00:00
itsmattkc
74f379b162
improved unit test feedback
2022-01-02 13:34:57 -08:00
itsmattkc
aada814ca5
use macro to disable test
2021-09-20 23:26:19 -07:00
itsmattkc
65eee43842
temporarily comment out test
2021-09-20 23:08:11 -07:00
itsmattkc
4c06e15759
update tests
2021-09-07 22:32:41 -07:00
itsmattkc
2794730afa
tests: set clip lengths
2021-08-16 22:07:33 -07:00
itsmattkc
52c5617159
undo: wrapped redo/undo functions to ensure prepare is called
2021-07-17 00:14:24 -07:00
itsmattkc
c41047ab02
timeline: reorganized undo commands
...
Split commands between several files rather than having them all in two monolithic ones.
2021-07-16 01:38:20 -07:00
itsmattkc
40caf7b6e3
tests: fixed missing semi-colon
2021-07-11 23:31:14 -07:00
itsmattkc
72ff996fa8
tests: added tests for timerangelist
2021-07-11 17:20:39 -07:00
itsmattkc
8a58ee2bdb
renderer: use iterator rather than creating vectors
...
Creating vectors from the FrameHashCache was one of the slowest functions in the program, this should be significantly faster.
2021-07-11 16:47:12 -07:00
itsmattkc
3592982b16
timeline: fixed dodgy code on gap insert command
...
Also added test for this command to help ensure correct behavior.
2021-05-29 20:02:16 +10:00
itsmattkc
673f298d9d
actually commit new digit header and tests
2021-05-05 20:15:06 +10:00
itsmattkc
7f27853f53
Merge pull request #1588 from ThomasWilshaw/test_naming
...
Update standard test name to improve usability in Visual Studio.
2021-04-26 20:34:31 +10:00
itsmattkc
e2a590da26
timeline: remove transitions when removing clips
...
Fixes #1224
2021-04-26 20:29:21 +10:00
Thomas Wilshaw
f9890ad928
Make test renaming OS specific and update names
2021-04-25 20:40:52 +01:00
Thomas Wilshaw
4c9c2a8892
Update standard test name to improve usability in Visual Studio.
2021-04-24 11:28:03 +01:00
itsmattkc
7f93ed7fc0
rational: fixed NaN
...
Also added tests to ensure rational NaN behavior is tested.
2021-04-23 14:48:22 +10:00
itsmattkc
528999bbbc
tests: added more to merge rgb test
2021-04-23 11:43:31 +10:00
itsmattkc
445d276cd0
nodes: further optimized merge node to passthrough RGB blend textures
2021-04-23 11:01:08 +10:00
itsmattkc
fb66cced19
ci/cmake: just compile as an object
2021-04-22 11:50:24 +10:00
itsmattkc
3929004535
cmake: reworked everything and add unit tests
2021-04-22 11:50:24 +10:00