Commit Graph

2043 Commits (e5151ec4a95f4603d4e94884cb4d494951ba351a)

Author SHA1 Message Date
jp9000 18b915a47b libobs/util: Use is_padding() for wcsdepad as well
Fix wcsdepad so that it checks for padding in the same way strdepad
does.
2020-07-11 16:15:38 -07:00
sunjingzhao 05826491af libobs/util: Fix potential crash 2020-07-11 16:01:32 -07:00
Matt Gajownik 76bdbdfbb0 libobs: Translate F13-F24 hotkeys on Windows
Fixes #2377
2020-07-11 16:27:44 +10:00
Jim b83a9dd0d6
Merge pull request #3133 from jpark37/fix-plane-heights
libobs: Fix video scalar copy heights
2020-07-10 20:31:50 -07:00
Jim 8b00f7d341
Merge pull request #3085 from eric/fix-audio-on-timestamp-jump
libobs: Reset audio data on timestamp jump
2020-07-10 17:35:44 -07:00
jpark37 cf911744f7 libobs: Fix video scalar copy heights
Use plane height instead of overall height for copying planes to fix
memory stomp.
2020-07-07 12:48:49 -07:00
Jim 3b11e170b7
Merge pull request #2836 from jpark37/yuv-image-fix
Fix FFmpeg YUV to RGB conversion by adding extra destination padding to line sizes
2020-06-26 06:13:45 -07:00
Jim 8e28c89a93
Merge pull request #2786 from pkubaj/patch-1
Add CFLAGS necessary on PPC64(LE) to libobs.pc
2020-06-26 01:39:45 -07:00
Jim 76c42215d6
Merge pull request #2755 from exeldro/keep_filters
libobs: Don't check filter compatibility on not loaded sources
2020-06-24 14:13:48 -07:00
Jim 0d7b4e1ced
Merge pull request #3006 from mr-c/simde_20200529
libos: Freshen SIMDe code copy
2020-06-21 05:34:38 -07:00
Jim 5f00f8c42a
Merge pull request #3014 from notr1ch/remove-excessive-null-checks
libobs: Remove excessive null checks
2020-06-21 04:56:45 -07:00
Jim a5f4850d7a
Merge pull request #3048 from jpark37/unused-audio-code
libobs/media-io: Remove unused code
2020-06-21 04:53:57 -07:00
Eric Lindvall f79f816b72 libobs: Reset audio data on timestamp jump
To prevent issues in audio mixing make sure the audio data is also cleared
when audio timing is reset.
2020-06-20 14:55:31 -07:00
jpark37 d9fa5de572 libobs: Fix right edge for "video scaler"
FFmpeg YUV to RGB conversions require extra destination padding.

This code only appears to be exercised for DeckLink.
2020-06-14 20:26:10 -07:00
jpark37 4c2e430c0c libobs: Fix right edge for JPEG images
FFmpeg YUV to RGB conversions require extra destination padding.
2020-06-14 20:00:58 -07:00
jpark37 6aa50b3ef1 libobs: Use autoreleasepool for graphics thread
Apparently necessary to clean up macOS leaks.
2020-06-08 13:16:35 -07:00
jpark37 886bf5ceb7 libobs/media-io: Remove unused code 2020-06-07 11:16:24 -07:00
Richard Stanway b9ea45e498
Merge pull request #2977 from futr/fix-non-terminated-str
libobs: Fix os_get_executable_path_ptr on Linux
2020-06-01 21:27:49 +02:00
Richard Stanway b62ced9bf2 libobs: Unload modules while OBS core is active
Modules are now unloaded while OBS core is still active, allowing
modules that call into libobs in their unload function to continue to
work. This changes the behavior of such calls - previously they were a
no-op since the OBS core would be gone, but they are now executed with
the OBS core still being active.
2020-06-01 15:54:46 +02:00
Richard Stanway dd519123c6 libobs: Remove excessive null checks
libobs functions check for a null obs_core inconsistently. If the core
is null, the functions silently return with no indication of an error to
the API user. This commit removes all null checks in libobs functions
that require libobs to be initialized. For OBS Studio, we are
(hopefully!) using the API properly so this should have no impact.
2020-06-01 15:54:23 +02:00
Exeldro 2d75639f58 libobs: Use correct data pointer for hotkey pair 2020-06-01 08:22:47 +02:00
Masato Takahashi 4ded3b39fd libobs: Fix os_get_executable_path_ptr on Linux
Terminate a non-terminated string generated by readlink()
to pass to dirname() that needs terminated string as a parameter.
2020-06-01 09:22:12 +09:00
Michael R. Crusoe 9f72a8ef8c
libos: Freshen SIMDe code copy
Up to date with cafec4b952

Documentation was added to libobs/util/simde/README.libobs
2020-05-29 12:37:14 +02:00
Jim b0e8ba6db8
Merge pull request #2972 from kkartaltepe/cmake-variety-fixes
cmake: Fix warnings and normalize variables/errors
2020-05-21 19:40:57 -07:00
Kurt Kartaltepe d928bfd1ea 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-05-21 18:45:16 -07:00
Jim 665180350d
Merge pull request #2657 from hselasky/improvement
libobs: Implement and use better scaling function for 64-bit integers
2020-05-21 18:07:53 -07:00
Jim 770408a7da
Merge pull request #2967 from jpark37/promotion-warnings
libobs: Fix potential truncation warnings
2020-05-21 17:36:35 -07:00
jpark37 cd6f56d0ea libobs: Fix potential truncation warnings 2020-05-21 10:02:03 -07:00
jpark37 5734ab7a9b libobs: WinRT and dispatcher init on graphics thread
Suspected necessary for WGC stability.
2020-05-21 09:25:54 -07:00
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
Piotr Kubaj 7da9a2f0d3 libobs: add ppc64(le) specific flags to libobs.pc
-DNO_WARN_X86_INTRINSICS -mvsx flags are necessary on PPC64(LE), but
those flags haven't been added yet to libobs.pc, making some plugins
fail to build.
2020-04-27 00:07:18 +02:00
Exeldro 6a567eded6 libobs: Don't check filter compatibility on not loaded sources 2020-04-19 09:11:32 +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