Commit Graph
2682 Commits
Author SHA1 Message Date
itsmattkc ca63e6ff89 appveyor: don't build continuous and follow redirects when downloading 2020-01-24 13:12:14 +11:00
itsmattkc 6a6587d3e3 appveyor: force locale to make grep work 2020-01-24 12:57:57 +11:00
itsmattkc d56f425d9c travis: cache brew packages to save time on mac builds 2020-01-24 12:31:43 +11:00
itsmattkc f8ad15013a appveyor: exit script on compile failure 2020-01-24 12:05:14 +11:00
itsmattkc 149d125e39 msvc: updated code for higher warning level 2020-01-24 12:00:55 +11:00
itsmattkc 66ad2749af travis: fixed broken if statement 2020-01-24 10:20:56 +11:00
itsmattkc e5d6395a4f travis: fixed syntax error 2020-01-24 10:10:15 +11:00
itsmattkc 5d1b379cb8 cmake: use high warning level in msvc 2020-01-24 01:37:06 +11:00
itsmattkc a629b1839d rendercanceldialog: pass through qshowevent 2020-01-24 01:36:52 +11:00
itsmattkc da2597610d CI: test artifact system 2020-01-24 01:13:03 +11:00
itsmattkc a3c932693a exportdialog: use wait for close code from previous commit when closing the
export dialog
2020-01-22 19:51:57 +11:00
itsmattkc 24f7eeb210 renderer: implemented function to wait for workers in the main thread
The workers run in separate threads meaning if any significant change is made
(e.g. parameters changing, or even closing the program), these workers may still
be mid-render. This is particularly problematic when closing since the nodes a
worker is rendering may be deleted mid-render. Render backends now have a
function that pauses the main thread (but starts a second event loop so the UI
isn't frozen) until the worker threads are all finished. This way, massive
changes can be made safely without race conditions.
2020-01-22 17:11:17 +11:00
itsmattkc fdbaa75dff renderer: allow parameters to be changed mid-session 2020-01-22 14:05:37 +11:00
itsmattkc 8932a5abeb preferences: allow users to set the default still image length 2020-01-21 14:31:45 +11:00
itsmattkc 5d4535b06d travis: use libopenimageio2-dev package 2020-01-21 03:03:01 +11:00
itsmattkc 80d684870f travis: added opengl devel 2020-01-21 02:58:37 +11:00
itsmattkc 868a7d33ed Merge branch 'master' of https://github.com/olive-editor/olive 2020-01-21 02:48:46 +11:00
itsmattkc f4567a9a5b travis: added appropriate linux dependencies 2020-01-21 02:48:22 +11:00
itsmattkc 28d0aecd0e openglcolorprocessor: delete texture when context is about to be destroyed 2020-01-20 16:09:29 +11:00
itsmattkc 7a973b9b47 appveyor: use package cache libs 2020-01-20 06:40:50 +11:00
itsmattkc cfff198503 Merge branch 'version-from-cmake' of https://github.com/eszlari/olive into eszlari-version-from-cmake 2020-01-20 06:07:46 +11:00
itsmattkc 7c9c670b00 appveyor: fixed various issues with win64 builds 2020-01-20 05:48:43 +11:00
itsmattkc c0300371c7 ffmpegdecoder: fixed flawed debug line 2020-01-20 04:58:39 +11:00
itsmattkc 6eab464abb appveyor: create windows installer 2020-01-20 04:48:10 +11:00
itsmattkc d706bef0a1 appveyor: create deployment package 2020-01-20 04:41:56 +11:00
itsmattkc 562891c391 renderer: handle ffmpeg returning a zero aspect ratio
We try to handle aspect ratios in metadata (e.g. stretching 1440x1080 videos
out to 1920x1080 when requested), and FFmpeg will usually return a 1/1
aspect ratio even if it can't determine an aspect ratio. However, as mentioned
in the documentation, sometimes it returns a 0/0 aspect ratio when it can't
determine an aspect ratio, which we didn't handle and would lead to the code
allocating a buffer with a 0px height. This commit handles both 1/1 and 0/0
aspect ratios in accordance with the FFmpeg documentation.

Reference: https://www.ffmpeg.org/doxygen/4.0/structAVFrame.html#a62f9c20541a83d37db7072126ff0060d
2020-01-20 04:07:42 +11:00
itsmattkc cd06b2f4ac rational: validate values when constructed with AVRational
`rational` is supposed to "fix signs" and "reduce" whenever its values are set,
but I neglected to do this when its values were set by an AVRational. Now it
will do so on both.
2020-01-20 04:07:09 +11:00
itsmattkc 649ee04eef appveyor: acquire ffmpeg from zeranoe and include 2020-01-20 03:33:17 +11:00
itsmattkc 7948af1fc6 appveyor: add qt to path and cache vcpkg packages 2020-01-20 02:32:08 +11:00
itsmattkc a2aee3cf5c appveyor: get 64-bit packages and use vcpkg file in cmake 2020-01-20 01:23:55 +11:00
itsmattkc 1c5a11b80b appveyor: use jom and integrate vcpkg packages 2020-01-20 00:50:32 +11:00
itsmattkc 1dfac0ea7f timeline: removed unused variable in undo command 2020-01-19 23:52:23 +11:00
itsmattkc 48e6fd3955 travis: added error handling in build script 2020-01-19 23:37:36 +11:00
itsmattkc 52f060418e use vs2017 in windows builds 2020-01-19 23:09:03 +11:00
itsmattkc d59c730f4f update dependencies and path for linux/mac builds 2020-01-19 23:08:48 +11:00
itsmattkc cdb4de1513 travis: use xenial as the appimage base 2020-01-19 23:08:23 +11:00
itsmattkc 8f4910a7c8 travis: update linux dep install code 2020-01-19 22:20:30 +11:00
itsmattkc 6c280cc5e0 travis: test mac build without explicit path set 2020-01-19 22:14:20 +11:00
itsmattkc 1e3de12fb7 Merge branch 'master' of https://github.com/olive-editor/olive 2020-01-19 22:06:46 +11:00
itsmattkc 7877febac4 began rewrite of appveyor build 2020-01-19 22:04:53 +11:00
itsmattkc 61c697689b addressed linker issue on some versions of gcc 2020-01-19 22:00:34 +11:00
itsmattkc 4697b98980 fixed gcc compile issues 2020-01-19 20:39:48 +11:00
itsmattkc 1101b58ee8 allow setting of pixel format/ocio method/sample format in preferences
Implementation isn't perfect yet, viewer/renderer doesn't update yet when
the preference is changed so a sequence needs to be re-opened for the change to
take effect.
2020-01-18 03:37:36 +11:00
itsmattkc e6b45c75c3 fixed bug where scrubbed frames would be cached but not committed to the hashmap 2020-01-17 18:13:49 +11:00
itsmattkc 3c139b8274 fixed bug where deleting clips in currently caching sequences would fail to
cache when something took its place
2020-01-17 14:12:13 +11:00
itsmattkc f8f932112c fixed bug where the node remove with exclusive deps command would never run 2020-01-17 13:56:45 +11:00
itsmattkc 0bc176fd62 use less threads on cache
By using one thread per logical CPU thread, we seemed to completely saturate
the CPU which would kill the performance of the main/GUI thread (despite the
other threads being low priority). We now use half of the logical threads, which
still sees good CPU usage and minimal performance impact while allowing the
main thread to respond to user actions.
2020-01-17 04:37:47 +11:00
itsmattkc 653709dc84 try to index media immediately on import
Since indexing is supplemental, it can be made a background task that can occur
at more or less any time. So we run it as soon as possible.
2020-01-17 03:58:29 +11:00
itsmattkc 63b3c60017 allow editing sequence properties in projectexplorer 2020-01-16 15:01:13 +11:00
itsmattkc c6710b1359 correctly update the panel subtitles based on the media connected 2020-01-16 14:57:16 +11:00