Commit Graph

982 Commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks a79d71ac52 project: Version 0.9.3
- Fixed an uncommon freeze when launching OBS Studio.
- Fixed Source Mirror not working equally well with all Sources.
2023-03-28 12:52:35 +02:00
Michael Fabian 'Xaymar' Dirks 533b9ab71e cmake: Fix OBS_DOWNLOAD for 25.0 2023-03-28 12:52:35 +02:00
Michael Fabian 'Xaymar' Dirks f0ce618500 sources/mirror: Clamp minimum size to 1x1
This works around an issue in our code with asynchronous or delayed sources.
2023-03-28 12:52:35 +02:00
Michael Fabian 'Xaymar' Dirks e3e664744a ui: Fix additional Qt issues 2023-03-28 12:52:35 +02:00
Xaymar 44f17c0039 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.
2023-03-28 12:52:35 +02:00
Michael Fabian 'Xaymar' Dirks ad6ffbe2b5 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.
2023-03-28 12:52:35 +02:00
Michael Fabian 'Xaymar' Dirks 7ca189e170 source/mirror: Don't ignore data in initializer 2023-03-28 12:52:34 +02:00
Michael Fabian 'Xaymar' Dirks 853cbab01a 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
2023-03-28 12:52:34 +02:00
Michael Fabian 'Xaymar' Dirks 3a88eb07e8 gfx/shader: Correctly cache shader rendering result
Fixes #392
2023-03-28 12:52:34 +02:00
Michael Fabian 'Xaymar' Dirks 3af3135331 templates/installer: Refactor installer code for easier changes 2023-03-28 12:52:34 +02:00
Michael Fabian 'Xaymar' Dirks c1466f81a2 third-party/msvc-redist-helper: Add submodule for msvc-redist-helper 2023-03-28 12:52:34 +02:00
Michael Fabian 'Xaymar' Dirks fed875b85a filter/dynamic-mask: Explicitly increase showing/active references
Fixes #384
2023-03-28 12:52:33 +02:00
Michael Fabian 'Xaymar' Dirks 6197531f3d 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.
2023-03-28 12:52:33 +02:00
Michael Fabian 'Xaymar' Dirks 32ff5df1ae filter/blur: Fix unicode support
Related: #359
2023-03-28 12:52:33 +02:00
Michael Fabian 'Xaymar' Dirks 624f5699ca filter/color-grade: Fix unicode support
Related: #359
2023-03-28 12:52:33 +02:00
Michael Fabian 'Xaymar' Dirks 4c5ea8c114 filter/displacement: Fix unicode support
Related: #359
2023-03-28 12:52:33 +02:00
Michael Fabian 'Xaymar' Dirks 1cf6f1688b filter/dynamic-mask: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks 249bc84071 filter/sdf-effects: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks 86fe30998e gfx/shader: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks 9110f7a351 obs/gs/effect: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks 533ef7ad97 obs/gs/mipmapper: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks b5117095bf util/library: Fix unicode support
Related: #359
2023-03-28 12:52:32 +02:00
Michael Fabian 'Xaymar' Dirks c71cdc0b48 gfx/blur: Fix unicode support
Related: #359
2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks 9fe50c52cb configuration: Fix unicode support
Related: #359
2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks 072498849c 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
2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks b2ff13d519 util/bitmask: Move bitmask functionality its own file 2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks 3a3de489bc util/library: Use string_view instead of string
Slightly improves performance and reduces memory impact, as string data is not duplicated.
2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks 1b48fa1731 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.
2023-03-28 12:52:31 +02:00
Michael Fabian 'Xaymar' Dirks 1be023b3b6 util/curl: Add missing include for vector 2023-03-28 12:52:30 +02:00
Michael Fabian 'Xaymar' Dirks 0280f39fa2 examples: Fix typo "_Random" -> "Random"
Fixes: #356
2023-03-28 12:52:30 +02:00
Michael Fabian 'Xaymar' Dirks 67a98b6935 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
2023-03-28 12:52:30 +02:00
Michael Fabian 'Xaymar' Dirks d7031c7809 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
2023-03-28 12:52:30 +02:00
Michael Fabian 'Xaymar' Dirks 7596c42a77 ui/updater: Always initialize members to zero 2023-03-28 12:52:30 +02:00
Daniel Hodgson bcf91824d6 examples: Fix incorrect angles for "hexagonize" effect
The value for "deg30" was incorrectly calculated as (pi / 15.0) instead of (tau / 12.0).
2023-03-28 12:52:30 +02:00
Daniel Molkentin e96088017d encoders/handlers/debug: Always return something in to_string (#354) 2023-03-28 12:52:30 +02:00
Daniel Molkentin 7477337f97 encoders/ffmpeg: Use correct parameter for log (#355) 2023-03-28 12:52:29 +02:00
Michael Fabian 'Xaymar' Dirks e116b3fff7 encoder/ffmpeg: Don't use hardware encoding for unsupported formats 2023-03-28 12:52:29 +02:00
Michael Fabian 'Xaymar' Dirks 2bfbee36a3 encoders/ffmpeg: Don't overwrite already correct settings 2023-03-28 12:52:29 +02:00
Michael Fabian 'Xaymar' Dirks 50334ae236 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
2023-03-28 12:52:29 +02:00
Michael Fabian 'Xaymar' Dirks b0ed958ded 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
2023-03-28 12:52:28 +02:00
Michael Fabian 'Xaymar' Dirks 202a3ca61f templates: Fix installation path and 64-bit installations 2023-03-28 12:52:28 +02:00
Michael Fabian Dirks 635563ad36 locale: New Crowdin updates (#335) 2023-03-28 12:52:28 +02:00
Michael Fabian 'Xaymar' Dirks f3c10c5044 project: Version 0.9.0 2023-03-28 12:52:28 +02:00
Michael Fabian 'Xaymar' Dirks 2353c0bb8b ci: Also run on tags 2023-03-28 12:52:28 +02:00
Michael Fabian 'Xaymar' Dirks 07c892b6a4 ui/about: Fix incorrect icon for YouTube URL
Fixes #329
2023-03-28 12:52:28 +02:00
Michael Fabian 'Xaymar' Dirks f907fc80b0 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.
2023-03-28 12:52:27 +02:00
Michael Fabian 'Xaymar' Dirks 6d3b0f1266 cmake: Add optional dependency nlohmann::json 2023-03-28 12:52:27 +02:00
Michael Fabian 'Xaymar' Dirks 1107c1e390 util/curl: Add C++ wrapper for CURL 2023-03-28 12:52:27 +02:00
Michael Fabian 'Xaymar' Dirks 5500e436b7 templates/version: Fix missing quotes around suffix 2023-03-28 12:52:27 +02:00
Michael Fabian 'Xaymar' Dirks 8cd45c262d templates: Clean up license headers 2023-03-28 12:52:27 +02:00