tt2468
ba0f8de3a0
libobs: Return target instead of current in calc_torquef
...
If the previously calculated torque value is too close to 1.0
(but not considered 1.0), it would be impossible for the TBar to
finish its transition since it returned the old value, causing desync.
2020-05-13 22:43:11 -07:00
jp9000
7993179466
cmake: Add cmake folders
2020-05-13 06:52:37 -07:00
jpark37
0a700dbc2a
libobs: Remove log entry for CoInitializeEx pass
...
Remove entry from the top of the log. Always returns S_FALSE, and that's
unlikely to change.
2020-05-10 12:36:20 -07:00
Jim
63cbcc5dcc
Merge pull request #2900 from jpark37/fix-posix-events
...
libobs/util: Fix POSIX event bugs
2020-05-09 16:00:27 -07:00
jpark37
7ce30ece82
libobs/util: Fix POSIX event bugs
...
Handle spurious wakeups, and ensure mutex unlock.
2020-05-09 14:21:35 -07:00
jpark37
7dc2782840
libobs: Fix da_reserve early return logic
...
Test desired capacity against original capacity instead of size.
2020-05-09 09:15:02 -07:00
Jim
3e1b5426e3
Merge pull request #2738 from exeldro/scene_not_duplicate
...
libobs: Don't allow duplicating scene sources
2020-05-04 01:38:27 -07:00
Henrik "Henke37" Andersson
6fb19a8904
libobs: Use SetThreadDescription if possible
...
It's the better way to declare thread names, but you need Windows 10,
version 1607 to use it.
2020-05-03 06:37:28 -07:00
Jim
d5d36b2f7a
Merge pull request #2835 from RytoEX/crash-log-win-release-id
...
libobs: Add Windows 10 release version to crash log
2020-05-03 06:31:29 -07:00
张昆
eb44e05169
libobs: Fix unnecessary duplication
...
Original code makes duplicated item and bad memory
Closes obsproject/obs-studio#2837
2020-05-03 06:28:21 -07:00
jp9000
3100cc6234
libobs: Update version to 25.0.8
2020-05-03 05:25:48 -07:00
Ryan Foster
b7f1bf9bc4
libobs: Add Windows 10 release version to crash log
...
Follow-up to eadb96f
.
2020-04-29 20:38:21 -04:00
Richard Stanway
0ea39baf95
libobs: Clear last error on encoder shutdown
...
This fixes an issue where an encoder may error out on a path that
doesn't use obs_encoder_set_last_error, resulting in a stale error being
used.
2020-04-27 01:15:53 +02:00
Colin Edwards
55e2985026
Merge pull request #1944 from WizardCM/windows-rc-definition
...
CMake: Build Windows modules with file descriptors
2020-04-18 18:27:22 -05:00
Richard Stanway
a81071f8cc
Merge pull request #2739 from exeldro/removed_sources
...
libobs: Don't save removed sources
2020-04-18 16:58:48 +02:00
Exeldro
874820ec2f
libobs: Don't save removed sources
2020-04-18 08:30:06 +02:00
Exeldro
74b9ae07f3
libobs: Don't allow duplicating scene sources
2020-04-17 12:40:25 +02:00
Colin Edwards
b7b202fac7
libobs: Fix plugin folder search path case on macOS
2020-04-16 19:28:00 -05:00
Colin Edwards
e3c63c003a
libobs: Update version to 25.0.6 (mac release)
2020-04-13 20:41:04 -05:00
Richard Stanway
5e3e9c1f13
obs-ffmpeg: Use new encoder error handling functions
2020-04-12 17:05:19 +02:00
Richard Stanway
5dc9f989d6
libobs: Add support functions for encoder error handling
...
Similar to how outputs can pass errors, add the same functionality for
encoders so that if an output encoder has an error, it is made available
to the output and eventually the UI / user.
2020-04-12 17:05:19 +02:00
Richard Stanway
2d261e79ff
Merge pull request #2663 from khng300/obs-25-fbsd-fix-execpath
...
libobs/util: Add FreeBSD and Dragonfly support in os_get_executable_path_ptr()
2020-04-10 00:40:46 +02:00
jp9000
e10d44d5f5
libobs: Update version to 25.0.5 (mac release)
2020-04-08 16:21:09 -07: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
jp9000
47058d9b69
libobs: Update version to 25.0.4
2020-04-05 03:48:34 -07: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
jp9000
3c78a8aa8d
libobs: Update to 25.0.3 (linux hotfix once again)
2020-03-23 19:16:54 -07:00
jp9000
4e43329269
libobs: Update version to 25.0.2 (linux hotfix)
2020-03-22 09:57:12 -07:00
jpark37
f83c4a8582
libobs: Add move assignment operator for BPtr
2020-03-19 16:18:51 -07:00
jpark37
19c6d06a3b
libobs: Fix missing assignment operator return
2020-03-19 14:03:56 -07:00
jpark37
b12ab46e62
libobs: Fix size mismatch warning
...
memcpy unlikely to exceed 4 GB, but just make VS happy.
2020-03-19 11:22:15 -07:00
jpark37
d383efc065
libobs: Handle noexcept warnings
...
VC++ wants noexcept for move assignment operators, and move contructors.
2020-03-19 11:20:44 -07:00
jp9000
b19ea6fe35
libobs: Update version to 25.0.1
2020-03-19 09:51:06 -07:00
jp9000
8ecfb405ce
Revert "win-capture, libobs: Show names of displays in Display Capture"
...
This reverts commit 9931f22ff4
.
2020-03-19 06:43:57 -07:00
jp9000
2570f22aa4
libobs: Update version to 25.0.0
2020-03-16 13:57:47 -07:00
jp9000
cf0a5e5c97
libobs: Fix audio not playing back with audio lines
...
The fix for the race condition that was made in 432017b2c
also broke
audio lines. This fixes audio lines and moves the fix to just the case
where it actually applied.
2020-03-15 04:44:47 -07:00
jp9000
563e2434c0
libobs: Reset manual state when forcing transition target
...
Fixes an issue where the manual transition point would not be reset to 0
when the transition's current target is overridden and explicitly set.
2020-03-14 16:25:46 -07:00
jp9000
360af79db2
Revert "libobs: Add extra reference when source is displayed"
...
This reverts commit 9cff2ae6bb
.
2020-03-14 10:54:37 -07:00
jp9000
7d491c7981
Revert "libobs: Only manipulate input source ref counts"
...
This reverts commit 6d5bb8b244
.
2020-03-14 10:54:37 -07:00
jp9000
934a18625e
libobs: Remove repeated semicolons
2020-03-14 10:54:37 -07:00
jp9000
8de20ab3be
libobs: Add task scheduling features
...
(This commit also modifies the UI)
Adds the ability to schedule tasks for certain threads
2020-03-14 10:54:37 -07:00
jp9000
39d8ea235c
libobs: Fix another group id comparison
...
Fixes a group id comparison where it was comparing the pointer of the
group name rather than the string contents itself, causing it to treat
it as a non-group source.
2020-03-13 08:03:06 -07:00
Richard Stanway
49bd76755b
Make cert revocation check fails non-fatal on Win
...
Instead of erroring out completely when it can't determine if the
certificate is valid, proceed anyway. This matches how web browsers
treat failed cert revocation checks. schannel just has somewhat
paranoid defaults.
2020-03-13 07:48:47 -07:00
Richard Stanway
4dfb572547
libobs: Check return value from obs_scene_add_internal
...
Errors in obs_scene_add_internal would cause a crash as the null item is
passed to various signal handlers.
2020-03-12 00:02:46 +01:00
jp9000
b31c166814
Revert "graphics: libobs-d3d11: Use DXGI_SWAP_EFFECT_FLIP_DISCARD on Windows 10"
...
This reverts commit 4da73445c3
.
This is being reverted because apparently it causes flickering displays
for some people. Bad drivers or something? Not sure. Very annoying.
2020-03-11 09:35:47 -07:00
jp9000
95a920d7ee
libobs: Remove legacy libobs data search path
2020-03-10 07:23:10 -07:00
jp9000
8b81b69f14
libobs: Remove legacy module search path
2020-03-10 07:19:45 -07:00
jp9000
432017b2c9
libobs: Don't render audio if context not initialized
...
Fixes a race where the audio subsystem could call audio render callbacks
before the source was fully initialized.
2020-03-10 07:13:58 -07:00
jp9000
3992bd247c
libobs: Fix groups not being recognized as groups
...
The id of the source was being pointer compared rather than string
compared, so naturally with the source versioning system where the
string is duplicated, the pointers no longer matched.
2020-03-09 17:08:51 -07:00
jp9000
19068c2960
libobs: Handle removed plugins for versioned sources
...
When someone adds a source and the plugin is removed for whatever
reason, it would cause a crash with the new source versioning system.
This fixes that by ensuring the unversioned id is also backed up along
with the normal id.
2020-03-09 16:53:44 -07:00