Commit graph

9014 commits

Author SHA1 Message Date
gxalpha 8143a084c0 .mailmap: Disambiguate many more authors
Adds all authors that are in the git shortlog multiple times, as in with multiple names and / or emails, as well as those that were authors list
2021-01-11 17:45:01 -08:00
jp9000 c390bb950d cmake: Make mac vcam optional (enabled by default) 2021-01-11 16:16:25 -08:00
Ryan Foster 461a0c5484 UI: Refactor importer to use GetUnusedSceneCollectionFile 2021-01-11 14:49:59 -08:00
Ryan Foster 9b1d1c1b3d UI: Make GetUnusedSceneCollectionFile usable elsewhere 2021-01-11 14:49:59 -08:00
jpark37 535f6b0adc win-capture: Typeless game capture textures
Modify game capture shared textures to be typeless if they could
potentially need SRGB and non-SRGB views in the future.

These capture APIs have been updated: D3D 10/11/12, Vulkan.

D3D8 capture does not use shared textures.

D3D9 and GL interop do not support typeless textures.

The new game capture DLL should be compatible with old versions of OBS.

Also removed a lot of dead code around pointless SRV/RTV support.
2021-01-11 14:18:12 -08:00
jpark37 c72b5de23e libobs-d3d11: Support typeless textures
In the future, we may share or wrap typeless textures to support SRGB
and non-SRGB views.
2021-01-11 14:18:12 -08:00
Marcus Rückert 12b6e28f03 libobs: Fix missing Linux libraries with certain flags
Make sure libobs links all libraries needed to satisfy symbols in the
library.

Fixes obsproject/obs-studio#3924
2021-01-11 14:10:53 -08:00
jpark37 2de056e32c obs-filters: Fix color overlay in color correction
Use color picker with alpha to restore color overlay functionality.
2021-01-11 11:52:50 -08:00
jpark37 e4bfb783ee docs/sphinx: Add obs_properties_add_color_alpha 2021-01-11 11:52:50 -08:00
jpark37 b80919f65f libobs: Support color picker with alpha 2021-01-11 11:52:50 -08:00
jpark37 0d1ffd8b30 UI: Support color picker with alpha 2021-01-11 11:52:50 -08:00
Lin f4a76f9daa obs-qsv11: Fix bframe=0 not working
Fixes obsproject/obs-studio#3979.
2021-01-11 11:52:07 -08:00
Vainock dc7728fc99 .gitattributes: Normalize en-US.ini 2021-01-11 11:27:35 -08:00
ckelsel 9e07c42d74 libobs: Fix gs_duplicator_get_texture function check 2021-01-11 11:16:02 -08:00
Colin Edwards 410c60e799 CI: Fix cef version in full build 2021-01-08 23:00:17 -06:00
PatTheMav bdfb626a32 CI: Add dynamic number of processors to make calls on CI 2021-01-08 22:40:51 -06:00
PatTheMav ac2e7a4ef2 CI: Force use of system-provided binaries for build script 2021-01-08 22:40:51 -06:00
jp9000 2597ed0ecc libobs: Update version to 26.1.2 2021-01-08 15:43:39 -08:00
Colin Edwards c381e1db16
Merge pull request #4040 from RytoEX/ci-update-deps-qt
CI: Update Qt and Deps on Windows
2021-01-08 15:01:14 -06:00
Ryan Foster 1b215e463c CI: Update Windows dependencies to VS2019 versions 2021-01-08 15:11:15 -05:00
Ryan Foster 5e29ca30e4 CI: Update Windows Qt from 5.10.1 to 5.15.2 2021-01-08 15:11:09 -05:00
Colin Edwards 3056977737 CI: Update macOS to CEF 4183 2021-01-08 10:26:15 -08:00
Colin Edwards 60e3c66d08
Merge pull request #3934 from pkviet/macbrowseraccel
UI: Enable HW acceleration switch for browser sources on Mac
2021-01-07 23:03:19 -06:00
Colin Edwards 0fa5dfcd30
Merge pull request #3933 from PatTheMav/macos-cef-texture-sharing
libobs: Add texture sharing support for macOS/OpenGL
2021-01-07 23:03:08 -06:00
Colin Edwards 0a614cbf84 obs-browser: Update to 2.10.9
macOS hardware acceleration
multiprocess on macOS
2021-01-07 23:02:45 -06:00
Adrián Pardini e4835daac2 rtmp-services: Add CamSoda service 2021-01-07 08:46:17 -08:00
SCG82 6a9e59108b rtmp-services: Add MyFreeCams 2021-01-07 07:05:56 -08:00
jp9000 dffa822112 win-dshow: Fix dshowcapture not linking audio of certain devices 2021-01-04 07:02:53 -08:00
Hector Martin 9616b79026 linux-jack: fix deadlock when closing the client
This lock causes a deadlock when freeing the JACK client while a
process callback is pending:

deactivate_jack -> locks mutex
   JACK thread -> calls jack_process_callback
   jack_process_callback -> blocks on mutex
jack_client_close -> joins JACK thread
(deadlock as the process callback never returns)

Instead, just don't lock the mutex. This is only mutexing on
creation/destruction of the JACK client. This is not necessary: the
process callback will only run after jack_activate (which is right
before the mutex is released in jack_init()), and will stop running
by the time jack_client_close returns. We don't actually need to
unregister any ports, so just call jack_client_close first thing in
deactivate_jack, which will guarantee the process callback has
completed before returning.

In fact, jack_process_callback isn't allowed to lock any mutexes or
allocate any memory at all, so this plug-in is still broken in this way
as obs_source_output_audio does that. This can cause audio xruns, as
realtime guarantees are violated. This is something that should be
fixed in the future, but at least it's not a deadlock.
2021-01-03 11:08:58 -08:00
Hector Martin 5d6bca0fd2 linux-jack: mark ports as JackPortIsTerminal
Ports which do not feed audio back into JACK should be marked as terminal.
This allows latency compensation to work properly.
2021-01-03 11:08:58 -08:00
Hector Martin df6446c573 linux-jack: fix timestamp calculation
The previous calculation was completely broken, returning offset
timestamps in the best case, and complete insanity in the worst case
(e.g. if an xrun occurs or JACK otherwise has a glitch).
2021-01-03 11:08:58 -08:00
jp9000 c38daa1934 obs-browser: Initialize CEF early to fix macOS crash
Initialize CEF during obs_module_load() to prevent a crash in Chrome's
memory allocation handler.

Reference: obsproject/obs-browser#256
2021-01-03 08:36:24 -08:00
jp9000 a9484fe737 libobs: Update version to 26.1.1 2021-01-03 08:18:43 -08:00
Avital Yachin cfd8b2daf1 rtmp-services: Add Loola.tv service
Closes obsproject/obs-studio#3932
2021-01-02 12:31:23 -08:00
jp9000 979054cc8c rtmp-services: Fix json formatting 2021-01-02 12:29:13 -08:00
Richard Stanway d0cbc83da2 libobs: Avoid unnecessary mallocs in audio processing 2021-01-02 14:53:19 +01:00
Warchamp7 4b2fe7b552 UI: Fix padding on Acri context bar buttons 2021-01-02 04:36:17 -08:00
Clayton Groeneveld 51050f7181 image-source: Fix slideshow transition bug when randomized
This fixes a bug where the transition wouldn't work when playback
is randomized and restart on activate is used.
2021-01-02 04:35:24 -08:00
Andrew Woodward ae9b7eaa9a docs/sphinx: Add missing obs_frontend_open_projector 2021-01-02 04:34:59 -08:00
Michael R. Crusoe 1e96573328 libobs: Update to SIMDe 0.7.1
c3d7abfaba

Simplify usage of the SIMDe header

This obviates the need for sse2neon as well and fixes compilation of all
plugins that referenced sse-intrin.h on all architectures, not just
arm*.
2021-01-02 04:07:55 -08:00
Clayton Groeneveld fdd34c35fc libobs: Set lock state when duplicating scene item
Fixes bug where the lock state wouldn't be copied when duplicating
a scene.
2020-12-31 13:26:39 -08:00
pkubaj d46e8b03c9 libobs: Add definitions in ARCH_SIMD_DEFINES
This is necessary on ppc64 to build plugins that use cmake, so that
-DNO_WARN_X86_INTRINSICS is defined.
2020-12-31 06:31:25 -08:00
pkubaj 1eda236aff cmake: Add ARCH_SIMD_DEFINES variable
It's necessary on ppc64 for plugins that use cmake.
2020-12-31 06:31:25 -08:00
Biswapriyo Nath e6ff2b6729 coreaudio-encoder: Fix cmake for mingw
This prevents windres to catch up '-Wno-multichar' as an option which is
unknown to it.  This flag was added in commit
aa0e64b7c9
2020-12-29 13:17:29 -08:00
jp9000 cdd94b2b59 Revert "UI: Only apply new scaling behavior on newer installs"
This reverts commit 4e5f20dcbe.

This originally was added because of a faulty assumption that it would
change defaults, but defaults were apparently broken from 26.0.2 -> 26.1
because primaryScreen->size() changed its behavior, so the original code
technically fixed the original behavior.
2020-12-29 09:13:37 -08:00
jp9000 4e5f20dcbe UI: Only apply new scaling behavior on newer installs
The new scaling behavior affects defaults, so only apply it to new
installs of 26.2 or greater, while maintaining the previous behavior if
the user is upgrading from an older version.
2020-12-29 08:58:30 -08:00
Ryan Foster 5cdd084c7f UI: Support fractional scaling for Canvas/Base size
Without this change, new profiles created on systems using a fractional
scaling factor (e.g., 125%, 150%, 175%) will get an incorrect (X, Y)
pair for the new canvas size. For a display with 125% scaling, OBS would
set (1536, 864) instead of (1920, 1080). With this change, it will set
(1920, 1080).
2020-12-29 08:40:07 -08:00
gxalpha ac8eaad483 mac-virtualcam: Remove unnecessary logging
Removes logging from the DAL plugin that is not really necessary but spams Console.app
2020-12-29 05:48:10 -08:00
gxalpha 20c41dba8a mac-virtualcam: Mark parameters as unused
Marks function parameters as unused, removing compiler warnings
2020-12-29 05:45:54 -08:00
Justin Bull 627aaeddb4 image-source: Add .webp to "All formats" option 2020-12-29 00:39:22 -08:00