Commit Graph

8086 Commits (c165798959b991ac1f1e04fbc7395b636085fc3c)

Author SHA1 Message Date
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
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
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
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
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
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
Matt Gajownik a9a19cf351 UI: Use Qt dialogs for Font & Color Pickers on Linux
This fixes a hang on Ubuntu when closing the
dialogs after leaving them open for a time.
2020-03-28 23:15:25 +11:00
skyboy 0c87670ee8 obs-qsv11: Fix QuickSync LA_ICQ encoder settings 2020-03-28 07:31:22 -04:00
Richard Stanway 094edda866
Merge pull request #2578 from sebastinas/json-executable-bits
rtmp-services: Remove executable bits from json files
2020-03-28 01:17:28 +01:00
Richard Stanway f4cf9b3b66
Merge pull request #2580 from jpark37/remux-fix
UI: Fix text handling for dialogs
2020-03-28 01:16:41 +01:00
Richard Stanway 4c1a6e0097
Merge pull request #2574 from jpark37/winrt-catch-all
libobs-winrt: Stronger exception handling
2020-03-28 01:14:04 +01:00
Jim b078d9197d
Merge pull request #2582 from notr1ch/win7-nvenc
obs-ffmpeg: Expose old NVENC on Windows 7
2020-03-27 17:06:34 -07:00
Dillon Pentz 402c292cc4
Merge pull request #2555 from VodBox/sl-volume-fix
UI: Fix silent scenes with imported SL scenes
2020-03-28 13:03:59 +13:00
Vainock 8643a3edf6
UI: Remove language region 2020-03-28 00:53:39 +01:00
Sebastian Ramacher fe4818ada1 rtmp-services: Remove executable bits from json files
The bits were set in c0a8e86c9c, but they
are not needed.
2020-03-27 22:14:24 +01:00
Richard Stanway 75d1f74838 obs-ffmpeg: Expose old NVENC on Windows 7
New NVENC isn't available on Windows 7 and the old encoder was marked as
internal, giving users no option to use NVENC at all.
2020-03-27 00:17:49 +01:00
jpark37 36e2a9fa33 UI: Fix text handling for dialogs
Signal only needs to be connected once, not every keystroke.

Also commit data only when text widget focus is lost to fix cursor
moving to the end of the string after every keystroke.
2020-03-25 17:13:10 -07:00
yalpul 6b3479108f CI: Make processor count consistent
Code formatting script was using `sysctl -n hw.physicalcpu` on macOS
machines to get the CPU count. This command returns the physical CPUs.
`nproc`, however, returns logical CPU count on Linux machines. It
should be `sysctl -n hw.logicalcpu` to make it consistent with its
Linux counterpart. But there also another way. `getconf
_NPROCESSORS_ONLN` gives the number of logical CPUs on both Linux and
macOS.
2020-03-26 00:20:07 +03:00
jpark37 36b7ac432d libobs-winrt: Stronger exception handling
Exceptions were still leaking through somehow.
2020-03-25 08:50:01 -07:00
Bongalive c4af7d00de rtmp-services: Update Bongacams servers and settings 2020-03-25 14:25:50 +07:00
jp9000 3c78a8aa8d libobs: Update to 25.0.3 (linux hotfix once again) 2020-03-23 19:16:54 -07:00
Jim 488e25fc3d
Merge pull request #2550 from kkartaltepe/v4l2-fix-for-real
linux-v4l2: Fixup invalid id
2020-03-23 18:40:25 -07:00
Kurt Kartaltepe b822faf73b linux-v4l2: Fixup invalid id
Previous fix in #2547 altered id before they were handed off to
callbacks and v4l2 wont strip its own flags from ids resulting in
invalid ids in the ioctl.

Instead add cleanup section and jump all branches there before looping.

(Jim edit: I'm changing this entire function so that it isn't horrible.)
2020-03-23 18:12:14 -07:00
Richard Stanway 54c5ac250f libobs-d3d11: Log device PCI IDs
This will help identify devices sharing the same names (eg "Intel HD
Graphics") for potentially adding to the blacklists should they have
issues.
2020-03-23 20:54:38 +01:00
Richard Stanway 1dc2c6a3be obs-outputs: Fix mbed TLS build issues
Version test macro was using the wrong version, and the non-crypto
MD5 only code was accidentally moved into an #ifdef which ended up
disabling it.

Fixes https://github.com/obsproject/obs-studio/issues/2426
2020-03-23 17:32:39 +01:00
VodBox 6319973b2f UI: Fix silent scenes with imported SL scenes
Previously, the importer assumed scenes had fields that sources did for
audio, namely volume, sync, mute and monitoring type. SL scenes do not
have these fields. This resulted in mistakes in importing, such as
imported scenes having a volume of 0.0.

This change gets rid of the non-existent fields, and explicitly sets the
volume of the scenes to 1.0 as a precaution.
2020-03-23 23:32:02 +13:00
Jim a0e8adbc42
Merge pull request #2547 from kkartaltepe/v4l2-control-inf-loop
linux-v4l2: readonly controls cause infinite loop
2020-03-22 11:42:32 -07:00