Commit Graph

1048 Commits

Author SHA1 Message Date
Christoph Willing
e39a1fc809 Resolve ambiguous abs() call
Signed-off-by: Christoph Willing <chris.willing@linux.com>
2020-02-10 18:28:56 +10:00
Jonathan Thomas
eb701a5f08 Merging this PR from https://github.com/OpenShot/libopenshot/pull/416 into release branch. Tested locally and did not see any crazy memory demands from this. 2020-02-07 17:33:54 -06:00
FeRD (Frank Dana)
175062913d Define USE_RESVG for openshot target 2020-01-11 18:11:02 -05:00
FeRD (Frank Dana)
fa9189a96a Fix RESVG format in GetFrame 2020-01-11 17:59:03 -05:00
FeRD (Frank Dana)
21815fe48a FindRESVG: Modernize with targets 2020-01-08 17:10:52 -05:00
FeRD (Frank Dana)
0b4885b673 Change RESVG image format to ARGB32_Pre 2020-01-08 17:01:40 -05:00
Jonathan Thomas
187b2055dd Preventing crash where last_video_frame is NULL 2020-01-08 00:09:01 -06:00
Jonathan Thomas
4e5ba4d638 Updating CMakeList.txt requirement for OpenShotAudio 0.1.9. This should work now, since we've updated the versions on develop. 2020-01-07 16:46:33 -06:00
Jonathan Thomas
e1b21c37f0 Reverting CMakeList.txt OpenShotAudio required version, because it's crashing Travis due to the dependency on libopenshot PPA (which only has the develop version number). Need to think about this more. 2020-01-07 14:23:05 -06:00
Jonathan Thomas
606a851c59 Updating required OpenShotAudio version in CmakeLists.txt 2020-01-06 17:27:33 -06:00
Jonathan Thomas
482aef4769 Merge pull request #395 from SuslikV/patch-4
Skip painter transform for the Clip when video disabled
2020-01-03 14:51:02 -06:00
SuslikV
1cefa65794 Skip painter transform by using shortcut
Fixes issue for clip being rendered as black rectangle even if the
has_video at the frame is set to zero.

Co-authored-by: Frank Dana <ferdnyc@users.noreply.github.com>
2020-01-03 23:45:28 +02:00
Jonathan Thomas
4cf322d21a Merge pull request #397 from ferdnyc/frame-copy
Frame: Copy has_audio_data correctly in DeepCopy
2020-01-02 17:45:32 -06:00
Jonathan Thomas
0bec048acc Copy max_audio_samples with Frame DeepCopy 2020-01-02 17:15:49 -06:00
Jonathan Thomas
3dbf372b11 Merge pull request #393 from ferdnyc/colorshift-classname
ColorShift effect: Correct class_name
2020-01-02 14:41:03 -06:00
Jonathan Thomas
0fc831f152 Merge pull request #394 from ferdnyc/effect-shortname
EffectBase: Remove unused short_name
2020-01-02 14:40:11 -06:00
Jonathan Thomas
4e91a2acf3 Merge pull request #387 from ferdnyc/switch-enums
Ensure switch statements on enums cover all values
2020-01-02 14:38:08 -06:00
Jonathan Thomas
8c91db610e Merge pull request #389 from ferdnyc/sign-compare
Don't compare differently-signed types
2020-01-02 14:37:09 -06:00
Jonathan Thomas
64d93404de Merge pull request #398 from ckirmse/fix_buffer_read
correctly calculate remaining_frame_samples
2020-01-02 14:29:51 -06:00
Jonathan Thomas
b8d3514ef6 Merge pull request #391 from ckirmse/fix_audio_crash
fix incorrect buffer size being passed to avcodec_fill_audio_frame
2020-01-02 14:28:35 -06:00
FeRD (Frank Dana)
e49f62247e Use C++11 range-based for loops where we can 2019-12-28 09:50:09 -05:00
Chris Kirmse
d60678af0d correctly calculate remaining_frame_samples
- sometimes the output from the SWR_CONVERT is not the exact amount we asked for
- without this fix, the old code would sometimes read past the end of a buffer
- valgrind complained about the old code
- read https://stackoverflow.com/questions/39587839/libswresample-swr-convert-not-producing-enough-samples
2019-12-27 09:54:57 -08:00
FeRD (Frank Dana)
31a0565d26 Frame: DeepCopy has_audio_data correctly 2019-12-27 10:51:02 -05:00
FeRD (Frank Dana)
cbf1f17059 Merge branch 'develop' into sign-compare 2019-12-25 16:35:04 -05:00
FeRD (Frank Dana)
c11b4ac266 EffectBase: Remove unused short_name 2019-12-19 07:59:30 -05:00