8 Commits
Author SHA1 Message Date
Jonathan Thomas f64d56bc1c Fixing bad assumption in Settings unit test which was failing on Windows builders now. 2026-03-28 23:42:27 -05:00
Jonathan Thomas bca37e047a - Default OMP/FF threads now come from the machine CPU count, with a minimum of 2.
- Defaults exposed via DefaultOMPThreads() and DefaultFFThreads().
- User overrides are clamped to 2 .. 3x CPU count.
- openshot-benchmark now supports --omp-threads and --ff-threads.
- Tests cover the new settings and benchmark arg behavior.
2026-03-28 23:23:33 -05:00
Jonathan Thomas 57a0bae9ac Refactor of Settings to no longer duplicate them in the *.h and Instance() method. Also changing FF_THREADS and OMP_THREADS to use # of processors on device. 2025-06-06 15:26:40 -05:00
FeRD (Frank Dana) 677ed5f591 Tests: Switch test files to openshot_catch.h 2022-06-17 15:37:51 -04:00
Frank Dana 59138ea3e4 Adopt license management via Reuse project/tool (#711)
* reuse-managed license/copyright headers

reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.

* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
  - Add headers to source files
  - Change blanket licensing in .reuse/dep5 to only cover binary media
  - Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
FeRD (Frank Dana) 266455c6a2 Settings: Unit test LIBOPENSHOT_DEBUG envvar 2021-05-14 22:48:53 -04:00
FeRD (Frank Dana) d9775d4a5e Port unit tests to Catch2 2021-04-09 04:09:36 -04:00
FeRD (Frank Dana) c68b16643e Rename tests/*_Tests.cpp to tests/*.cpp 2021-04-07 23:41:04 -04:00