Commit Graph
2608 Commits
Author SHA1 Message Date
jp9000 bdd6562a94 win-capture: Put window capture update data in a mutex
Because the window capture source updates its data whenever certain
properties are modified, this would cause a race condition because
source updates normally happen in the graphics thread.  To solve this
for the time being, put access to that data within a mutex when updating
or updating visibility.
2020-09-03 05:49:58 -07:00
Richard Stanway c13357ff91 vlc-video: Fix format conversion typos
Introduced by 8b632fa227
Fixes https://github.com/obsproject/obs-studio/issues/3396
2020-09-03 01:13:33 +02:00
jpark37 94475b8795 win-capture: Fix Vulkan crash on minimize restore
Set uninitialized data members to avoid crash coming back from minimize.
2020-09-01 20:20:59 -07:00
jpark37 7a66466efc win-capture: Add Vulkan instance creation fallback
Fall back to original arguments if our 1.1 API request doesn't work.
2020-09-01 18:59:13 -07:00
jpark37 e905b4cb6e win-capture: Vulkan variable naming consistency 2020-09-01 18:56:14 -07:00
Richard Stanway 288a84dc95 win-dshow: Add file description for virtual camera DLL 2020-08-29 03:04:44 +02:00
Matt Gajownik 3370e8fc12 obs-vst: Support older Qt versions 2020-08-29 10:56:12 +10:00
Richard Stanway 21fb1e770e win-dshow: Use constant reference for virtualcam CLSID 2020-08-29 02:46:03 +02:00
Richard Stanway 4c08c7bfa4 win-dshow: Reduce size of virtualcam placeholder image 2020-08-29 02:42:03 +02:00
Richard Stanway 8b632fa227 vlc-video: Fix possible undefined behavior in format conversion
Casting from char[] to uint32_t * is considered undefined behavior due
to different alignment requirements. Instead of using char[] for the new
value, this uses a macro to set a uint32_t directly.

Issue detected by PVS Studio.
2020-08-29 02:42:03 +02:00
Matt Gajownik 94ca885bda obs-vst: Fix VST detection in home directory on Linux 2020-08-29 09:38:57 +10:00
Matt Gajownik ff69ff72f5 obs-browser: Update to 2.8.7
This contains a fix for Unicode CSS
2020-08-29 09:35:31 +10:00
Jim 87125984ee Merge pull request #3350 from kkartaltepe/noise_cmake
obs-filters: Cleanup CMake
2020-08-27 10:18:38 -07:00
Jim 6efd70fc01 Merge pull request #3260 from jpark37/vulkan-cts-hack-remove
win-capture: Remove Vulkan CTS workaround
2020-08-27 10:18:08 -07:00
Kurt Kartaltepe a2f5c323da obs-filters: Cleanup CMake
This file has become a mess of people hacking in fixes so this cleans it
up to make sense again.
2020-08-27 09:02:36 -07:00
Shaolin 420823bfaa plugins: Clear compile warnings on Linux 2020-08-26 01:34:03 -03:00
jp9000 bf4a917751 win-capture: Fix excessive window capture logging 2020-08-25 10:18:45 -07:00
jp9000 d310f1532b obs-outputs: Remove legacy multitrack code 2020-08-24 13:07:55 -07:00
Clayton Groeneveld d2d99ac5fc obs-ffmpeg: Fix crash when seeking with no media
This fixes a crash when seeking when there is no valid
media.
2020-08-24 02:43:42 -05:00
Jim aef10d46c4 Merge pull request #3322 from kkartaltepe/unused-var-cleanup
obs-filters/obs-outputs: Cleanup unused var warns
2020-08-23 12:40:54 -07:00
Kurt Kartaltepe 43da6eacd0 obs-filters/obs-outputs: Cleanup unused var warns
Fix unused variables when compiling without rnnoise
Fix unused variable warnings in GCC when using assert() in release
2020-08-23 12:09:59 -07:00
jpark37 a713a5b433 win-capture: Robust Vulkan swap chain handling
Not all surfaces support VK_IMAGE_USAGE_TRANSFER_SRC_BIT. Only
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT is required by spec. Add fall back.
2020-08-23 11:23:12 -07:00
craftwar f4ee271cd2 obs-filters: Fix building without noise reduction 2020-08-23 17:05:16 +08:00
jp9000 36f8903da1 win-capture: Update graphics hook version 2020-08-22 13:03:05 -07:00
jp9000 2220884498 obs-outputs: Check support for mbedtls func 2020-08-22 11:22:24 -07:00
jp9000 dd19c29b3e obs-outputs: Fix Windows memory leak
When using alternate mutex implementations, you need to explicitly free
the mutexes with the mbedtls_threading_free_alt() function.
2020-08-22 11:07:16 -07:00
Jim d9408b51ef Merge pull request #3288 from makise-homura/e2k_support
E2k support
2020-08-22 10:20:20 -07:00
Jim bb5a6cdbbb Merge pull request #3289 from khng300/sndstat_parsing
oss-audio: Improve /dev/sndstat parsing on FreeBSD
2020-08-22 09:00:22 -07:00
Jim d229a56dab Merge pull request #3301 from KasinSparks/freetype-outline-shadow-bounds-calc
text-freetype2: Fix x,y bounds for text outline and shadow
2020-08-22 08:58:13 -07:00
Jim 02b7672bf1 Merge pull request #3306 from kkartaltepe/x264-leak-fix
obs-x264: Fix memory leak
2020-08-22 08:57:39 -07:00
jp9000 189fc7ab6a obs-outputs: Add support for metadata-based multitrack 2020-08-22 08:27:58 -07:00
jp9000 746a522986 obs-outputs: Don't assume @setDataFrame
Don't assume @setDataFrame when using an info packet.  I'm guessing
librtmp did this because the only time this packet type was normally
used was when you use onMetaData.
2020-08-22 08:27:58 -07:00
Kurt Kartaltepe 5ada3f745d obs-x264: Fix memory leak
bmalloc'ed array was not freed when freeing options.
2020-08-21 21:28:19 -07:00
Kasin Sparks 570bffc282 text-freetype2: Fix x,y bounds for text outline and shadow 2020-08-21 12:47:55 -04:00
Ryan Foster d49e14d8a6 win-capture: Remove unused strings
After PR #3074, the following strings are no longer used:
 * GameCapture.ForceScaling="Force Scaling"
 * GameCapture.ScaleRes="Scale Resolution"

Commits from PR #3074:
 * 9497589b16
 * 6393399758
2020-08-20 02:21:30 -04:00
jp9000 c38f370ad0 obs-outputs: Enable Windows mbedTLS threading support 2020-08-19 07:02:33 -07:00
Jérémy Farnaud 7e39109a86 obs-filters: Add option to use RNNoise for noise reduction
This commit adds support to using Xiph and Mozilla RNNoise library for
noise reduction.

RNNoise is a small library using an AI approach to noise reduction
using a pre-trained model like RTX Voice. But unlike RTX Voice, it is
very tiny, use CPU instead of GPU and only use little resources.
Obviously it is not as efficient but will effectively remove background
noise. It uses more CPU than the existing libspeex-based noise
reduction but it also sounds sounds way better.

RNNoise support is added to the noise reduction effect. It can be
enabled with a checkbox in the effect configuration. RNNoise has no
settings.
2020-08-18 11:25:21 -07:00
Ka Ho Ng a1e99d7903 oss-audio: Improve /dev/sndstat parsing on FreeBSD
This commit targets FreeBSD and potentially DragonFly BSD. The commit
fixes issue parsing /dev/sndstat when hw.snd.verbose is greater than 0.
Besides, the commit also adds support for audio devices created by
user space daemons, such as virtual_oss.
2020-08-18 22:54:09 +08:00
makise-homura 543a3767c7 obs-x264: Discard excess warning for e2k 2020-08-18 16:52:05 +03:00
Jim f6ce8f2a32 Merge pull request #2942 from strager/x264-options
obs-x264: Log when options are ignored
2020-08-17 05:24:00 -07:00
jp9000 37767b6746 image-source: Transition when restarting slideshow
Fixes an issue where it would instantly set the image rather than
transition to the first from its current value
2020-08-17 03:12:59 -07:00
Jim 1849798cb4 Merge pull request #3281 from cg2121/slideshow-cleanup
image-source: Use media control api for slideshow
2020-08-16 23:54:15 -07:00
Jim 22e6a040ed Merge pull request #3223 from NiMO-TV/rtmp-nimotv-auto-server
rtmp-services: Add Nimo TV auto server
2020-08-15 08:43:42 -07:00
Clayton Groeneveld 42e7b16fde image-source: Use media control api for slideshow 2020-08-14 14:32:21 -05:00
Clayton Groeneveld 88da9bf693 Revert "image-source: Add proc handler calls to slideshow"
This reverts commit 1475f756f2.
2020-08-14 13:35:45 -05:00
Jim c5b3125b75 Merge pull request #3253 from JohannMG/mac-decklink-warnings
mac-decklink: Fix C++ virtual function warnings
2020-08-11 18:09:31 -07:00
jp9000 1475f756f2 image-source: Add proc handler calls to slideshow
Allows manipulation of the slideshow via procedure handlers.
2020-08-10 12:24:01 -07:00
jp9000 389f7d390f image-source: Play if play_pause() called while stopped
Causes the slideshow to start back up if it was stopped for whatever
reason previously.
2020-08-10 12:23:36 -07:00
jpark37 9d177d0969 win-capture: Remove Vulkan CTS workaround
CTS has been fixed, so the workaround is no longer necessary.
2020-08-07 22:58:49 -07:00
JohannMG 41b12d7bff mac-decklink: Fix C++ virtual function warnings
Created another virtual function to override and moves stubbed function
to the header.
2020-08-06 12:53:30 -07:00