Commit Graph

2504 Commits

Author SHA1 Message Date
jackson
28fb27840c skip frames when over a frame_duration behind 2021-12-29 01:27:56 -06:00
jackson
8a9c00d3f6 - Searched for word 'millisecond' replaced with 'microsecond'
- Simplify timing correction with the cube of the difference between audio and video times.
    - If the correction is longer than it took to generate a frame. skip frames until under a frame behind.
2021-12-27 19:14:33 -06:00
Jonathan Thomas
3c8dc71bf2 Merge pull request #719 from OpenShot/audio-devices
New audio device [type] switching + Audio sync improvements
2021-12-07 16:36:51 -06:00
Jonathan Thomas
91c47eb98b Removing debug output, and adding some improved handling of audio/video sync conditions 2021-12-07 13:37:29 -06:00
Jonathan Thomas
089b30f7c5 Switch from milli seconds to micro seconds, for added precision. For example, instead of sleeping for 0.041666667 seconds... due to milliseconds, we were only sleeping 0.41. This would de-sync the audio and video pretty quickly, over a few seconds, causing stuttering 2021-12-06 17:30:45 -06:00
Jonathan Thomas
f3e7208df6 Adding some additional logging 2021-12-06 15:47:32 -06:00
Jonathan Thomas
09bcf2ab15 Fix sleep time calculation to change when the project profile is changed (big bug), and add some additional logging/debugging statements 2021-12-03 15:21:11 -06:00
Jonathan Thomas
4a52941708 Experimental logging to detect delay on Windows playback 2021-12-03 00:43:13 -06:00
Jonathan Thomas
ac3762923d Updating licensing for reuse compliance 2021-12-02 22:10:08 -06:00
Jonathan Thomas
9eda757885 Merge branch 'develop' into audio-devices
# Conflicts:
#	src/AudioBufferSource.cpp
#	src/AudioReaderSource.cpp
#	src/AudioReaderSource.h
#	src/Clip.cpp
#	src/Frame.cpp
#	src/Qt/AudioPlaybackThread.h
#	src/audio_effects/Compressor.h
#	src/audio_effects/Delay.h
#	src/audio_effects/Echo.h
#	src/audio_effects/Expander.h
2021-12-02 22:05:19 -06:00
Jonathan Thomas
7b19fa2169 Merge pull request #782 from dankamongmen/dankamongmen/constify
constify some AVCodecIDs, necessary for new ffmpeg
2021-12-02 16:59:34 -06:00
nick black
99034feb4e constify some AVCodecIDs, necessary for new ffmpeg
Signed-off-by: nick black <dankamongmen@gmail.com>
2021-11-22 00:09:08 -05:00
Jonathan Thomas
18bdad4342 Merge pull request #781 from OpenShot/missing-memory-include
Resolve a build failure for missing <memory> include
2021-11-18 16:36:15 -06:00
Jonathan Thomas
520c8c5be3 Resolve a build failure for missing <memory> include. This is needed for shared_ptr to build on certain compilers. 2021-11-18 16:19:33 -06:00
Frank Dana
e7ed3b3717 CacheBase: Add missing include (#780) 2021-11-15 06:13:29 -05:00
Jonathan Thomas
c96691808f Merge pull request #778 from ferdnyc/new-docs
(Second attempt) Switch from UseDoxygen to doxygen_add_docs
2021-11-11 14:15:55 -06:00
Jonathan Thomas
dec6b04442 Merge pull request #771 from ferdnyc/move-magick-code
Move ImageMagick code out of Frame class
2021-11-11 14:15:21 -06:00
Frank Dana
0c1e9d0700 tests/Fraction: Approx() floating-point for 32bit (#777) 2021-11-11 08:20:07 -05:00
FeRD (Frank Dana)
c9ad762f36 Switch to C++14 [[deprecated]] annotation 2021-11-11 07:19:06 -05:00
FeRD (Frank Dana)
e11b9434cf Docs: Fix doc ambiguities when matching functions 2021-11-11 07:04:05 -05:00
FeRD (Frank Dana)
9aa9e70b41 Unexclude headers 2021-11-11 07:02:19 -05:00
FeRD (Frank Dana)
11bfccc581 Audio effects: Clean up doc comments, parameters 2021-11-11 06:28:52 -05:00
FeRD (Frank Dana)
ce895cc86f Docs: Fix image paths, more PREDEFINED 2021-11-11 05:32:12 -05:00
FeRD (Frank Dana)
1686842eb6 Docs: Switch to doxygen_add_docs() 2021-11-11 05:32:12 -05:00
Jonathan Thomas
e4769eba14 Merge pull request #776 from OpenShot/revert-613-new-docs
Revert "Docs: Switch from UseDoxygen to doxygen_add_docs"
2021-11-10 22:56:41 -06:00