Commit Graph

988 Commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks 2ecce5229f project: Version 0.9.3
- Fixed an uncommon freeze when launching OBS Studio.
- Fixed Source Mirror not working equally well with all Sources.
2021-02-01 13:25:33 +01:00
Michael Fabian 'Xaymar' Dirks 5ab9ed1c82 cmake: Fix OBS_DOWNLOAD for 25.0 2021-01-30 20:50:13 +01:00
Michael Fabian 'Xaymar' Dirks c17e7444d5 sources/mirror: Clamp minimum size to 1x1
This works around an issue in our code with asynchronous or delayed sources.
2021-01-30 20:49:31 +01:00
Michael Fabian 'Xaymar' Dirks 50ebde9374 ui: Fix additional Qt issues 2021-01-21 03:29:42 +01:00
Xaymar 9770c6f2fc ui/updater: Don't require Qt interaction before OBS is ready (#427)
Fixes one of the launch freezes caused by StreamFX due to interaction with the Qt message loop.
2021-01-21 03:29:42 +01:00
Michael Fabian 'Xaymar' Dirks c6fb402d66 project: Version 0.9.2
* #369 Fixed that the parent window of the Updater modal would become unusable on earlier Qt5 versions.
* #370 Fixed 'sliding-bars.effect' incorrectly accessing _Random instead of Random.
* #376 Fixed some filters not properly skipping themselves.
* #388 #390 Fixed issues with Unicode characters in paths for most of the features.
* #391 Fixed Dynamic Mask not working if the source is in another scene.
* #393 Fixed Shaders rendering more than once per tick.
* #396 Updated Installer for easier future changes.
* #398 Fixed Shader filters not duplicating properly.
* #399 Fixed Source Mirror sources not duplicating properly.
2020-12-04 14:02:24 +01:00
Michael Fabian 'Xaymar' Dirks c8b9666cc6 source/mirror: Don't ignore data in initializer 2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks 32be6ff6fe filter/shader: Initialize with given data
Ignoring the data parameter during initialization results in duplication and some third party plugins not working as expected, so it's better to not ignore it.

Fixes #315
2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks 56993c0967 gfx/shader: Correctly cache shader rendering result
Fixes #392
2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks e6bb48988b templates/installer: Refactor installer code for easier changes 2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks 518a0981e3 third-party/msvc-redist-helper: Add submodule for msvc-redist-helper 2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks 3dfbe45e9e filter/dynamic-mask: Explicitly increase showing/active references
Fixes #384
2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks bf505a217b obs/tools: Add active_source and visible_source helpers
These classes help us manage active and showing references to a source, which seem to be necessary for filters.
2020-12-04 13:39:15 +01:00
Michael Fabian 'Xaymar' Dirks 0e0545706c filter/blur: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks d4650161e1 filter/color-grade: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks 4fd6787532 filter/displacement: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks 06bf604445 filter/dynamic-mask: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks 6767b017a5 filter/sdf-effects: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks 56559b6944 gfx/shader: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks e81266fd8e obs/gs/effect: Fix unicode support
Related: #359
2020-12-04 13:39:14 +01:00
Michael Fabian 'Xaymar' Dirks 2e9e0af02e obs/gs/mipmapper: Fix unicode support
Related: #359
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks c79cad6c89 util/library: Fix unicode support
Related: #359
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks b6a4f0b3bf gfx/blur: Fix unicode support
Related: #359
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks 35f8fffcd3 configuration: Fix unicode support
Related: #359
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks d308b39fed plugin: Implement proper functions to get config and data files
Using the obs_module_file and obs_module_config_path macros works okay, but it comes with a slight overhead as well as additional requirements when passing it to C++ functions that expect certain rules to be fulfilled. By instead wrapping the actual functionality into our own functions and using those we can avoid most of the issues that come with the old approach.

Related: #359
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks c9116e81c6 util/bitmask: Move bitmask functionality its own file 2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks 68fba8efee util/library: Use string_view instead of string
Slightly improves performance and reduces memory impact, as string data is not duplicated.
2020-12-04 13:39:13 +01:00
Michael Fabian 'Xaymar' Dirks e79eca8dc4 obs/source-factory: Skip broken filter rendering by default
Fixes a black screen issue if a filter happens to run into an unexpected issue which it considers unrecoverable.
2020-12-04 13:39:12 +01:00
Michael Fabian 'Xaymar' Dirks fcfad4bff8 util/curl: Add missing include for vector 2020-12-04 13:39:12 +01:00
Michael Fabian 'Xaymar' Dirks 641c4110ae examples: Fix typo "_Random" -> "Random"
Fixes: #356
2020-12-04 13:39:12 +01:00
Michael Fabian 'Xaymar' Dirks cd76bb638d ui/updater: Set modal flag after hiding the dialog
This fixes a bug with older Qt versions which would not remove the modal window from the parent in the setModal() call, resulting in an unusable parent window.

Fixes #368
2020-12-04 13:39:12 +01:00
Michael Fabian 'Xaymar' Dirks ad245401dd project: Version 0.9.1
* #366 Fix an on-launch crash caused by missing initializers.
* #363 Fix a weird angle definition in 'hexagonize.effect'.
* #355 Fix incorrect or bad values being logged in FFmpeg Encoders.
* #353 Fix weird color conversion issues.
* #347 Fix hidden modal windows preventing 'Hide to Tray' from working.
* #345 Fix Windows Installer being 32-bit instead of 64-bit
2020-11-01 17:06:03 +01:00
Michael Fabian 'Xaymar' Dirks f31754d74c ui/updater: Always initialize members to zero 2020-11-01 15:56:40 +01:00
Daniel Hodgson dae0557ef9 examples: Fix incorrect angles for "hexagonize" effect
The value for "deg30" was incorrectly calculated as (pi / 15.0) instead of (tau / 12.0).
2020-11-01 15:56:39 +01:00
Daniel Molkentin 947b5918a4 encoders/handlers/debug: Always return something in to_string (#354) 2020-11-01 15:56:39 +01:00
Daniel Molkentin aceb923552 encoders/ffmpeg: Use correct parameter for log (#355) 2020-11-01 15:56:39 +01:00
Michael Fabian 'Xaymar' Dirks e55b56c9eb encoder/ffmpeg: Don't use hardware encoding for unsupported formats 2020-10-08 12:01:35 +02:00
Michael Fabian 'Xaymar' Dirks 8c0553825f encoders/ffmpeg: Don't overwrite already correct settings 2020-10-08 12:01:35 +02:00
Michael Fabian 'Xaymar' Dirks f333a63e82 ffmpeg/tools: Set correct information when encoding
Improves the previous logic and makes it compatible with the new additions in 26.x, such as sRGB. This was previously broken as the focus was on existing features which could be tested without requiring a compiler to be installed.

Incorrect understanding of how sRGB works with RGB and YCC/YUV formats also caused sRGB to be treated as RGB when I444 was selected. This should also now be fixed, hopefully permanently.

Fixes #331
2020-10-08 12:01:35 +02:00
Michael Fabian 'Xaymar' Dirks 924c8b26f9 ui/updater: Apply workaround for OBS Studio checking for modals
In order to work around a bug in the OBS Studio UI code, we have to swap our modal status right before showing and right after hiding, so that the OBS Studio tray menu continuous working correctly. This is a bit of a weird solution, but it does work as expected.

Related: https://github.com/obsproject/obs-studio/issues/3518
2020-09-30 04:19:20 +02:00
Michael Fabian 'Xaymar' Dirks 6e9b4d33e4 templates: Fix installation path and 64-bit installations 2020-09-30 04:19:13 +02:00
Michael Fabian Dirks eb6e4f04c7 locale: New Crowdin updates (#335) 2020-09-30 04:19:07 +02:00
Michael Fabian 'Xaymar' Dirks 23cb20a268 project: Version 0.9.0 2020-09-25 21:33:09 +02:00
Michael Fabian 'Xaymar' Dirks 21795f489d ci: Also run on tags 2020-09-25 21:25:52 +02:00
Michael Fabian 'Xaymar' Dirks 8c99b56997 ui/about: Fix incorrect icon for YouTube URL
Fixes #329
2020-09-25 21:07:26 +02:00
Michael Fabian 'Xaymar' Dirks 81a970473f updater: Add functionality to check for updates
Implements a manual and automatic update checker with support for both release and testing update channels, allowing users to stay as up to date as possible. It is fully compliant with privacy regulations around the world, as it stays completely silent and inactive until the user gives the Ok to connect to GitHub for the latest releases.
2020-09-24 02:01:40 +02:00
Michael Fabian 'Xaymar' Dirks 08b2847fec cmake: Add optional dependency nlohmann::json 2020-09-24 02:01:40 +02:00
Michael Fabian 'Xaymar' Dirks 34ae5dd64b util/curl: Add C++ wrapper for CURL 2020-09-24 02:01:40 +02:00
Michael Fabian 'Xaymar' Dirks d3c6472526 templates/version: Fix missing quotes around suffix 2020-09-24 02:01:40 +02:00
Michael Fabian 'Xaymar' Dirks 0b7e60e834 templates: Clean up license headers 2020-09-24 02:01:40 +02:00