Commit Graph
2067 Commits
Author SHA1 Message Date
itsmattkc 6ecdb02fd0 okay maybe not 2020-11-08 00:47:59 +11:00
itsmattkc 83cefbd7c7 uhh yeah this might be fubar 2020-11-07 22:44:27 +11:00
itsmattkc 13dd31d5be began rewrite of renderer inner workings 2020-11-06 20:18:10 +11:00
itsmattkc 60eb71cb4c derive threadpool from cancelableobject 2020-10-30 22:48:25 +11:00
itsmattkc 26e351d363 moved frame cache saving to our custom thread pool so we can control the priority 2020-10-29 03:12:04 +11:00
itsmattkc 84a1ec0ca3 began graphics backend enum 2020-10-29 02:59:18 +11:00
itsmattkc a3a57181a6 re-copy list when waiting since it may have changed 2020-10-29 02:59:10 +11:00
itsmattkc 00fef29cac fixed issues where hashes wouldn't set correctly 2020-10-29 02:18:58 +11:00
itsmattkc 07dc7104c5 made timerangelist a encapsulation rather than a derivation
Locks off functionality that really shouldn't be used.
2020-10-29 02:18:41 +11:00
itsmattkc b582843d27 moved things around and started rewriting render backend 2020-10-29 01:36:26 +11:00
itsmattkc 94321c0a86 align frames to 32 bytes instead of 16 2020-10-28 15:50:56 +11:00
itsmattkc 43873e79e9 clear decoders when viewer is disconnected 2020-10-28 15:50:20 +11:00
itsmattkc 5343ec4b86 use default playback cache if there's no project 2020-10-28 15:49:53 +11:00
itsmattkc 1e6208517f decoder: fixed regression in image handling in OIIO decoder
Fixes #1277
2020-10-27 12:36:55 +11:00
itsmattkc 5f5d6e82ab audioplaybackcache: fixed bug in one of the shift operations 2020-10-24 14:18:59 +11:00
itsmattkc 921608e1df audioplaybackcache: fixed various audio issues
Fixes #1276
2020-10-24 13:59:12 +11:00
itsmattkc 7e637a7372 calculate audio bytes as a 64-bit number 2020-10-24 13:55:07 +11:00
itsmattkc cf07e52b76 fixed another shadowed variable 2020-10-24 12:05:52 +11:00
itsmattkc 67987bd758 fixed shadowed variable 2020-10-24 11:28:37 +11:00
itsmattkc 17efd0bd9b default to cache during playback 2020-10-24 10:13:16 +11:00
itsmattkc 253dd86da8 updated OTIO functions for renamed functions 2020-10-24 10:13:06 +11:00
itsmattkc 4082f6d938 Merge branch 'master' of https://github.com/olive-editor/olive 2020-10-23 01:26:49 +11:00
itsmattkc bc60c74562 finalized very, very basic OTIO support
Ironed out various project and footage loading issues, and a single
cache invalidation issue.
2020-10-23 01:26:17 +11:00
itsmattkc 9613730ee8 Merge branch 'otio' of https://github.com/olive-editor/olive into otio 2020-10-22 22:13:37 +11:00
itsmattkc 917738d1de Merge branch 'master' into otio 2020-10-22 20:26:16 +11:00
itsmattkc 33a0c2d728 Merge pull request #1275 from ThomasWilshaw/stream
MediaInput: Rename streams access methods.
2020-10-20 23:32:00 +11:00
itsmattkc d0858f3f05 Merge pull request #1272 from ThomasWilshaw/Fix#1271_node_duplicate
Fix #1271 Duplicate Keyframed Node
2020-10-20 23:31:38 +11:00
itsmattkc c37607bf66 Merge pull request #1269 from ThomasWilshaw/otio_cmake_fix
Fix building without OTIO support
2020-10-20 23:31:19 +11:00
itsmattkc 0ec262125c otio: added ability to export a whole project rather than a single sequence 2020-10-20 18:15:39 +11:00
Thomas Wilshaw 4ddc659335 MediaInput: Rename streams access methods.
Change MediaInput::footage() to MediaInput::stream() and
MediaInput::SetFootage() to MediaInput::SetStream() as they access
streams not footage.

Also update all instances of access methods to reflect this change.
2020-10-19 15:50:36 +01:00
itsmattkc db8d321fa7 project: improved loading and footage importing 2020-10-19 14:41:01 +11:00
Thomas Wilshaw 7281806c38 Fix #1271 Duplicate Keyframed Node
When nodes with keyframes were copied their parent NodeInput was not
set properly leading to a segfult when key->GetParent was called in
KeyframeViewItem::UpdatePos().

This fix properly sets parent_ when keys are copied.
2020-10-16 22:30:54 +01:00
Thomas Wilshaw 70455c1501 Fix building without OTIO support
Added a new CMake flag that stops any OTIO related cpp files being
built.

Added extra #ifdefs to catch any OTIO related code in other cpp
files.
2020-10-15 18:59:06 +01:00
itsmattkc 384650e85a tracklist: ensure track indexes are updated when tracks are added/removed 2020-10-15 10:38:36 +11:00
itsmattkc e5b18fa45b audioplaybackcache: fixed bug where the wrong segment may be targeted 2020-10-14 17:40:15 +11:00
itsmattkc 911d13164c render task: queue all hashes and audio tasks in advance 2020-10-14 17:05:15 +11:00
itsmattkc a09b551a7d export: fixed bug that probably didn't cause any issues, but still shouldn't be like that 2020-10-14 17:05:01 +11:00
itsmattkc d20877570e Merge branch 'master' of https://github.com/olive-editor/olive 2020-10-13 23:59:52 +11:00
itsmattkc b17b34c5fd crashhandler: ask confirmation if no summary is written 2020-10-13 23:54:02 +11:00
itsmattkc d620af412f decoder: improved memory management 2020-10-13 23:49:30 +11:00
itsmattkc 65507d81ea audioplaybackcache: use null samplebuffer to write silence 2020-10-13 23:48:59 +11:00
itsmattkc feb33ac677 Merge pull request #1262 from ThomasWilshaw/Fix_#1252
Fix #1252
2020-10-13 23:10:10 +11:00
Thomas Wilshaw b676f2f8b6 Fix #1252
Checks if the SampleBuffer is valid before trying to extract its
packed data. If it is not valid Olive writes blank segments instead.
2020-10-13 12:19:06 +01:00
itsmattkc f137a1bbf3 playbackcontrols: set widget visible and enabled properties based on valid timebase 2020-10-12 18:09:10 +11:00
itsmattkc 989dfb7016 footageviewer: reset time if footage is set to null 2020-10-12 18:08:44 +11:00
itsmattkc 7c0d7a9fe3 ffmpeg: manually retrieve audio duration if metadata doesn't provide one
We did this for video, now we do it for audio too.

Fixes #1266
2020-10-12 17:58:56 +11:00
itsmattkc 453f3700ab ensure AudioOutputManager is deleted in its own thread
Fixes #1265
2020-10-12 12:23:20 +11:00
itsmattkc 6ced8504d6 audiooutputmanager: reordered constructor 2020-10-12 01:34:45 +11:00
itsmattkc f56c745d93 viewer: don't use audio timebase if no video is connected
This feature may make a comeback later, but for the time being it causes
issues and I'm not sure it's even that useful.

Fixes #1256
2020-10-12 00:23:17 +11:00
itsmattkc f2bd891071 viewer: allow manually switching to the audio waveform view 2020-10-12 00:20:09 +11:00