Commit Graph

237 Commits

Author SHA1 Message Date
Frank Dana
e8b4dde32e Timeline::GetClip: Add anti-slicing unit tests (#596) 2020-12-04 09:25:30 -05:00
FeRD (Frank Dana)
2f6d88e168 various Readers: Fix GetCache return type
Tests: fix ImageWriter cache type
2020-11-27 03:28:03 -05:00
FeRD (Frank Dana)
6b4ed3a2b8 Color_Tests: Remove commented code, be const 2020-11-04 07:08:08 -05:00
FeRD (Frank Dana)
db738cecea Point_Tests: Increase coverage
- Add blank constructor, JSON in/out tests

More Point tests
2020-11-04 04:51:24 -05:00
FeRD (Frank Dana)
97cd27069c Color_Tests: Increase coverage
- Add tests for second constructor, JSON in/out
2020-11-04 04:01:34 -05:00
FeRD (Frank Dana)
d54871afd2 FrameMapper_tests: Add more coverage 2020-11-03 14:22:02 -05:00
Frank Dana
98d6eb4f8c FrameMapper_Tests: Correct for reader duration 2020-11-03 13:46:21 -05:00
FeRD (Frank Dana)
68f54bdb9a FrameMapper_Tests: Use SUITE, create no-op test 2020-11-03 08:10:44 -05:00
Jonathan Thomas
e556d0fded Added 2 new unit tests for Clip's with a Timeline associated with them, and FFmpegReaders with a Clip/Timeline associated with them. 2020-10-23 01:35:46 -05:00
Jonathan Thomas
bba126019b Added 2 FrameMapper unit tests which verify resampled audio data has no gaps/pops, and offset FrameMapper clips don't use the wrong # of audio samples 2020-10-23 00:02:52 -05:00
FeRD (Frank Dana)
a1e44edad4 Merge branch 'develop' into clip-refactor-keyframes 2020-10-19 16:28:49 -04:00
Jonathan Thomas
2f4aba450c Fixing some cpp_test complaints 2020-10-19 16:22:27 -04:00
Jonathan Thomas
ab4916247b Replacing audio fix implementation with ParentClip(), to access clip start and position (if any) 2020-10-19 16:05:01 -04:00
Brenno
a4109419ac Implemented position remapper inside FrameMapper to fix audio noise when exporting to different fps
The FrameMapper class now receives the updated clip position and returns the correct amount of samples for a given frame number
2020-10-19 16:05:01 -04:00
FeRD (Frank Dana)
9050cc72b2 Merge branch 'develop' into new-header-move2 2020-10-19 15:12:28 -04:00
FeRD (Frank Dana)
1ae52808c7 CMake: Add target for ImageMagick dependency
- Parameters assigned to ImageMagick::Magick++ will now follow
  the 'openshot' shared-library target wherever it's linked, even in
  build subdirectories that aren't children or siblings of the
  location where the target was created.
- Removed the redundant code duplicating `find_package(ImageMagick)`
  checks. Multiple dependency scans have only been necessary as a
  workaround to overcome CMake variables' restricted scope.
  Targets do not share that limitation.
2020-10-18 10:55:59 -04:00
FeRD (Frank Dana)
aff469535f ImageReader/Writer.h: Goose coverage to 100% 2020-10-18 10:22:34 -04:00
FeRD (Frank Dana)
10d994dce4 tests/CmakeLists, Doxyfile.in: Update paths 2020-10-18 07:49:24 -04:00
FeRD (Frank Dana)
fcebbead83 tests: Update include paths 2020-10-18 07:47:36 -04:00
FeRD (Frank Dana)
630e7ac4df Use new OpenShot::Audio target in CMakeLists.txt
FindOpenShotAudio.cmake: Enhance with targets

- Also, migrate as much config as possible from CMakeLists.txt files
  to properties of IMPORTED OpenShot::Audio target (including platform-
  specific configs)
2020-10-18 07:47:36 -04:00
FeRD (Frank Dana)
6e4476dc6c Tests: Increase coverage for ImageReader/Writer 2020-10-17 06:21:06 -04:00
FeRD (Frank Dana)
965de9df5b Add ENABLE_MAGICK CMake option (default ON) 2020-10-03 20:32:58 -04:00
FeRD (Frank Dana)
6d1e22f545 Timeline_Tests: Unit tests for new methods
Add GetMaxTime tests
2020-09-02 01:04:36 -04:00
Frank Dana
f71051e8f1 Tests: Don't enable HW accel as side-effect (#557)
The Settings test attempts to test the class by changing settings
variables and reading them back again. Problem is, that affects
the REST of the unit tests. So instead of enabling HW accel and
causing crashes, we'll diddle something innocuous, like OMP_THREADS.
2020-08-20 21:13:42 -04:00
Frank Dana
2520996d85 Merge pull request #510 from ferdnyc/store-qt-version
Add version/feature #defines to OpenShotVersion.h
2020-07-08 17:28:18 -04:00