Commit Graph

36 Commits

Author SHA1 Message Date
Frank Dana
2699e7d1d0 Unit tests: Don't use OpenShot.h header (#607)
- To prevent slow compiles of unit tests, replace all of the
  '#include "OpenShot.h"' invocations with includes of the
  individual headers actually needed by each test file.
2020-12-26 21:51:24 -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
FeRD (Frank Dana)
fcebbead83 tests: Update include paths 2020-10-18 07:47:36 -04:00
Frank Dana
12dd4d150a Merge pull request #448 from SuslikV/ffmpeg-like-fps
Change frame rate detection
2020-03-27 10:29:04 -04:00
FeRD (Frank Dana)
2701cf9079 Add frame rate test to FFmpegReader_Tests 2020-03-26 20:12:10 -04:00
SuslikV
54a82ff0a6 Fix test sample values
Previously, x0.98 gain was applied for all input audio sources. As it's
no longer needed, the new values should be specified as reference for
the tests.
2020-03-16 16:22:41 +02:00
FeRD (Frank Dana)
b6da6b9659 add DONT_SET_USING_JUCE_NAMESPACE to tests 2019-10-27 03:54:36 -04:00
FeRD (Frank Dana)
39de350f1c tests: Add tolerance to pixel value checks 2019-10-02 04:44:13 -04:00
Jonathan Thomas
376170d7dd Merging work from @ferdnyc, to move version info to CMake, and other misc Cmake improvements. This was the easiest way to resolve the merge conflict for me (to apply it locally and commit it). 2019-07-01 12:24:50 -05:00
FeRD (Frank Dana)
f170fdd009 Update copyright range to current year 2019-06-11 06:48:32 -04:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Jonathan Thomas
3f926f45df Update FFmpegReader_Tests.cpp 2019-06-08 12:45:13 -05:00
Jonathan Thomas
238e2d16d8 Update FFmpegReader_Tests.cpp 2019-06-08 12:24:49 -05:00
Jonathan Thomas
13e74b147a Adding new CheckPixel method to validate a specific pixel color 2019-05-31 19:02:28 -05:00
Jonathan Thomas
d8aa28ba6e Adding python bindings to GitLab build artifacts (to prevent install target on build server) (#119)
* Make python install target overridable via env variable

* Fixing audio unit tests

* Making linux builds automatic again

* Another attempt to collect python installed files as artifacts

* Changing python windows powershell syntax

* Testing new powershell syntax
2018-06-17 10:29:17 -07:00
Jonathan Thomas
f46f06fa42 Fixing audio unit tests 2018-05-18 00:25:08 -05:00
Jonathan Thomas
774eb365b3 FFMPEG 3.2 support for FFmpegReader (writer support coming soon) 2018-03-21 02:10:46 -05:00
Jonathan Thomas
f12ffe692b Migrating tr1 to std, adding C++11 support to build scripts, fixing crash in FFmpegReader (caused by shared_ptr, buffer, and last_video_frame corruption). Much improved stability with this change. Thanks to Craig and Peter for the help! 2017-08-20 17:37:39 -05:00
Jonathan Thomas
f00ea5c4e2 Reverting logging code in unittests 2016-09-08 22:26:14 -05:00
Jonathan Thomas
badb1450d2 Adding additional logging to unittests, to help find an issue on certain systems 2016-09-08 02:33:24 -05:00
Jonathan Thomas
ce47a5b667 Fixing a small regression with the new unit test Tests.h header. 2015-09-28 22:17:29 -05:00
Jonathan Thomas
66c5ced902 Windows now passes most unit tests. Added header macro to assist on passing correct test media paths to unit tests. Also added a new info parameter has_single_image, which is used to optomize the frame mapper class for images with long durations. 2015-09-28 22:05:50 -05:00
Jonathan Thomas
b612f3339d Replaced ImagMagick with QImage on almost all key methods and classes. Reprogrammed all effects and the entire rendering pipeline to use QImage and QTransforms, primarily for increases in speed and stability. libopenshot is more than 10X faster on many of the most CPU heavy tasks. This was a huge change, and still has a few minor issues relating to BlackMagick Decklink and Text rendering.... which should be resolved very soon.
Also, much work has been done on memory management / leak detection, and optimizations with multi-threading... including a new thread cacher class used by the video playback (which is smoother than ever).
2015-06-01 00:20:14 -07:00
Jonathan Thomas
820e8a2095 Fixed a few more issue with the openshot::FrameMapper and openshot::FFmpegReader unit tests. 2015-03-08 22:24:12 -05:00
Jonathan Thomas
86561aed22 Fixed a huge bug when closing a reader and re-opening it. Added some new unit tests to test for that bug, as well as check the ordering of layers and effects. Improved opening and closing of openshot::Clip->Reader() to better support multiple threads. 2015-02-19 01:03:22 -06:00