8163 Commits

Author SHA1 Message Date
Richard Stanway
25054d233c
Merge pull request #2677 from emaste/warning-fix
UI: Fix warning compiling with Clang 10
2020-04-10 00:39:07 +02:00
Ed Maste
9f4aaf22f0 UI: Fix warning when compiling with Clang 10
Building with Clang 10 on FreeBSD 13-CURRENT emitted a warning about
logical not (!) applying only to the left hand side of a comparison.
Update the expression to match the style of other flags conditionals.
Verified that object code is the same.
2020-04-10 00:37:37 +02:00
Richard Stanway
dca5f2fcdb UI: Properly apply hide cursor on fullscreen projectors
If a projector was created fullscreen, the isFullScreen() call would
fail since the window hasn't been displayed by Qt yet, resulting in the
cursor hiding choice not being applied. This moves the cursor hiding
into the SetMonitor call which is used for all code paths creating a
fullscreen projector, ensuring the setting is applied.

Fixes https://github.com/obsproject/obs-studio/issues/2687
2020-04-10 00:32:09 +02:00
Akihiko Koizuka
d7dc544a38 rtmp-services: Add niconico 2020-04-10 00:22:57 +09:00
Colin Edwards
da35310363
Merge pull request #2671 from pkviet/logfilter
UI: Log global audio devices and their filters
2020-04-09 01:04:08 -05:00
Colin Edwards
c48c9ed2de
Merge pull request #2537 from WizardCM/studio-program-label
UI: Don't open Studio Mode's "Program" label in a window
2020-04-09 00:46:48 -05:00
Colin Edwards
46c59fb13a
Merge pull request #2639 from WizardCM/no-transform
UI: Require selected source for Transform shortcut
2020-04-09 00:42:37 -05:00
Wahaj Dar
e132676d29 rtmp-services: Update castr.io rtmp ingest list
Closes #2559
2020-04-09 00:32:32 -05:00
Colin Edwards
414f0ab824
Merge pull request #2571 from bongalive/master
rtmp-services: Update Bongacams servers and settings
2020-04-09 00:25:36 -05:00
Colin Edwards
276869be33
Merge pull request #2679 from kkartaltepe/ui-include-fix
UI: Fix missing includes
2020-04-09 00:20:47 -05:00
Colin Edwards
3b27eee20f
Merge pull request #2577 from yalpul/patch-1
CI: Make processor count consistent
2020-04-09 00:20:35 -05:00
Kurt Kartaltepe
35f9e82956 UI: Fix missing includes
These files appeared to be dependent on their include order and were
missing definitions when files were compiled in a different order.
2020-04-08 17:20:52 -07:00
jpark37
34d70c6832 obs-filters: 3D LUT tetrahedral interpolation
As requested by Adobe CUBE spec.
2020-04-08 17:00:45 -07:00
jp9000
e10d44d5f5 libobs: Update version to 25.0.5 (mac release) 2020-04-08 16:21:09 -07:00
jp9000
2a318d915f libobs-opengl: Fix atan2 HLSL->GLSL transpile 2020-04-07 23:59:14 -07:00
jp9000
6ca52db8ce libobs-opengl: Add sincos to HLSL->GLSL transpile 2020-04-07 23:59:14 -07:00
jp9000
bc7dd6e931 obs-browser: Fix formatting 2020-04-07 23:57:29 -07:00
Colin Edwards
921a742966
Merge pull request #2617 from RytoEX/update-macos-deps
CI: Update macOS dependencies
2020-04-07 14:51:16 -05:00
Ka Ho Ng
ab2743dd23 libobs/util: FreeBSD/Dragonfly exec path support
Add support for FreeBSD and Dragonfly in os_get_executable_path_ptr().
This is required to obtain the path of the running executable image
correctly.

Fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245299
Fixes https://github.com/obsproject/obs-studio/issues/2622
2020-04-08 03:44:40 +08:00
pkv
92989bd42b UI: Log global audio devices and their filters
Request from support-team.
Currently only sources in Scenes are logged with their filters.
This excludes global audio sources set in Settings > Audio.
This patch remedies this.
2020-04-07 21:33:09 +02:00
Colin Edwards
de6643b8ea CI: Update dependencies on macOS 2020-04-07 14:06:54 -05:00
David Bieber
46979536a1 mac-capture: update owner_pid in update_window 2020-04-07 13:30:53 -04:00
David Bieber
4718e5ecf5 mac-capture: Use int in place of NSNumber for owner_pid 2020-04-07 13:26:46 -04:00
Ed Maste
f4e7bd31ab deps: lzma: also use .note.GNU-stack on FreeBSD
FreeBSD uses the same .note.GNU-stack section to indicate that the
stack should not be executable.
2020-04-07 13:25:43 -04:00
David Bieber
ebbe856d83 mac-capture: Only find window by window id when owner name and pid match 2020-04-05 22:10:36 -04:00
David Bieber
239cad00e4 mac-capture: Use window id to identify windows on MacOS
Use a window's window id in init_window in the mac window capture plugin.
2020-04-05 22:09:49 -04:00
Hans Petter Selasky
62a174ec39 plugins: Build ALSA plugin for FreeBSD
Signed-off-by: Hans Petter Selasky <hps@selasky.org>
2020-04-05 20:39:53 +02:00
Hans Petter Selasky
0e4ea14ba1 libobs: Implement and use better scaling function for 64-bit integers
As os_gettime_ns() gets large the current scaling methods, mostly by casting
to uint64_t, may lead to numerical overflows. Sweep the code and use
util_mul_div64() where applicable.

Signed-off-by: Hans Petter Selasky <hps@selasky.org>
2020-04-05 20:27:28 +02:00
jp9000
47058d9b69 libobs: Update version to 25.0.4 2020-04-05 03:48:34 -07:00
jp9000
83991a1345 win-capture: Update graphics hook version to 1.1.4 2020-04-05 03:48:34 -07:00
Jim
14af57fcb1
Merge pull request #2649 from WizardCM/stream-stretch
UI: Don't stretch server field in Qt 5.14
2020-04-05 03:48:18 -07:00
Kurt Kartaltepe
14480fe025 UI: Fix previewLabel styling
Label renders with default styling instead of using dynamic property
because it was already polished.
2020-04-04 18:57:31 -07:00
Matt Gajownik
ed8df46a39 UI: Don't stretch server field in Qt 5.14 2020-04-05 11:50:53 +10:00
Kurt Kartaltepe
107c632220 obs-outputs: Fix warnings WITH_RTMPS=OFF
Some unused variables were not marked unused when RTMPS was disabled.
2020-04-04 11:09:12 -07:00
Matt Gajownik
beb2af9721 UI: Require selected source for Transform shortcut
Fixes #2468
2020-04-04 23:45:14 +11:00
Kurt Kartaltepe
c5b731e48f cmake: Fix warnings and normalize variables/errors
As of 3.17 using find_package_handle_standard_args checks that the name
of the FindXXX file and the first argument are the same case.

Some modules used non-standard variables or the old singular variables
instead of plurals. This normalizes variable usage to the new-style.

Some CMakeLists.txt did custom error checking instead of propagating
find_package errors. These were changes to call find_package with
REQUIRED or without QUIET where needed and shortens the custom status
messages. This helps users who want to enable that functionality see
what precisely wasnt found.
2020-04-03 21:32:10 -07:00
Jim
dbb453d00b
Merge pull request #2591 from jpark37/vulkan-unsupported-fix
win-capture: Fix crash if GPU can't Vulkan capture
2020-04-03 16:57:02 -07:00
Colin Edwards
9703d17541
Merge pull request #2620 from afriza/patch-1
Decklink: Fix crash when no matching device
2020-04-03 18:07:17 -05:00
jp9000
c899d164d9 obs-browser: Fix interact keyboard input on Linux
Keyboard input wasn't working properly when using interact on Linux --
this should solve it.
2020-04-03 03:13:24 -07:00
Douglas Rhine
b216b90a5c
obs-ffmpeg: Rename and add more VAAPI levels
The Auto level lets the encoder decide which level to use.
Furthermore, some devices allow levels beyond 4.2. Therefore,
we add all levels allowed by H.264. This is of importance,
since using a resolution not supported by the specified level
can trigger undefined behavior on the hardware/kernel.
2020-04-03 07:12:05 +01:00
Afriza N. Arief
f7332b467a
Decklink: Fix crash when no matching device
OBS crashes when decklink output is auto started and the device is
removed or changed to different model while OBS is not running.

Fixes https://github.com/obsproject/obs-studio/issues/2494
2020-04-03 00:32:33 +07:00
Douglas Rhine
04d7ff5854
obs-ffmpeg: Expose VAAPI profile choices
Allow choosing Constrained Baseline, Main and High.
2020-04-02 18:10:03 +01:00
Ryan Foster
00c1513890 CI: Update macOS dependencies
* Update VLC from 3.0.4 to 3.0.8
* Update Sparkle from 1.20.0 to 1.23.0
2020-04-02 04:00:51 -04:00
jp9000
d002345a11 libobs: Fix macOS 10.15 hotkey crash (temporary)
On 10.15, if a user activates secure input of some sort, the hotkey code
will begin to crash inside of any Apple function related to hotkeys,
even after secure input has ended.  This does not appear to be the fault
of OBS; the reason to this is still as of yet unknown, but is suspected
to be a bug inside of Apple code that's a new regression as of 10.15.

So for the time being as a temporary solution to the crash, simply
disable external hotkey support once secure input has been detected.

Because of this issue, the hotkey code should probably be replaced by a
different method of tracking hotkeys, perhaps InstallEventHandler for
example.  This commit is little more than a bandaid to the crash.
2020-03-31 10:40:17 -07:00
SoraYuki
7f0d57f535 rtmp-services: Fix memory leak when update rtmp-custom-service. 2020-03-30 15:49:49 +08:00
jpark37
8987fc6c81 win-capture: Verify VK_KHR_external_memory_win32 support
Good practice to verify necessary extensions exist. We'll probably need
keyed mutex extension in the future to support Intel.
2020-03-29 10:08:03 -07:00
jpark37
21dc1f573b win-capture: Cleaner COM usage
Remove hard-coded GUIDs, call correct functions, and clean up
unnecessary casts.
2020-03-29 10:00:36 -07:00
Richard Stanway
b9f7702378
Merge pull request #2563 from skyboy/skyboy-patch-1
Fix QuickSync LA_ICQ encoder settings
2020-03-28 23:06:05 +01:00
jpark37
348fcd5b00 win-capture: Fix crash if GPU can't Vulkan capture 2020-03-28 09:01:26 -07:00
Matt Gajownik
7ee1bb2df6 docs/sphinx: Bump major OBS version 2020-03-28 23:17:20 +11:00