Commit Graph

7972 Commits (19c5da4645a66cc44ef6ae8ae38c1155f8d536b0)

Author SHA1 Message Date
Jim 413896a227
Merge pull request #2520 from WizardCM/mixrelixr
UI: Add setting for Mixer add-on choice (MixrElixr)
2020-03-20 19:00:56 -07:00
jpark37 f3b2fc37c1 obs-filters: Fix LUT file extension filter on Linux 2020-03-20 17:41:18 -07:00
Richard Stanway 4563e03442 win-wasapi: Fix leaking IPropertyStore 2020-03-20 17:58:14 +01:00
Richard Stanway 21737d5f7a win-wasapi: Fix crash on certain devices
Not all devices return PKEY_AudioEngine_DeviceFormat properties.

Per MSDN, if the PROPERTYKEY referenced in key is not present in
the property store, this method returns S_OK and the vt member of
the structure pointed to by pv is set to VT_EMPTY.
2020-03-20 17:53:18 +01:00
Ryan Foster 56348a0b46 obs-qsv11: Fix target usage values
PR #1937 (commit b9ad1ce) added QSV target usage options, but there was
a comma missing between two of the array entries. This resulted in
"faster" and "veryfast" becoming "fasterveryfast", which is not valid.

Code style changes were required by .clang-format.
2020-03-20 05:30:18 -04:00
Kurt Kartaltepe fe079c03ab UI: Fix crash on settings update 2020-03-19 20:36:55 -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
jpark37 27fa979d73 UI: Make Importer destructor virtual
Allows unique_ptr to clean up without warnings.
2020-03-19 11:19:26 -07:00
jp9000 b19ea6fe35 libobs: Update version to 25.0.1 2020-03-19 09:51:06 -07:00
Richard Stanway 59d72437b4 libobs-winrt: Fix missing parentheses 2020-03-19 15:50:32 +01:00
Richard Stanway 4570fcbc72 UI: Fix memory leak 2020-03-19 15:50:32 +01: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 06377bec46 obs-browser: Fix a few crashes
Fixes a crash with size somehow becoming 0x0 for a source, and fixes a
crash when specific local file settings are used.
2020-03-19 06:13:56 -07:00
jp9000 dff05d9fcc UI: Fix preview state when minimizing to tray
Makes sure preview is properly enabled/disabled when minimizing to tray,
when restoring from tray, or when starting the program up minimized to
tray
2020-03-19 05:33:07 -07:00
VodBox 89792bcae9 UI: Remove unnecessary vertices for preview
This change reduces the number of triangles drawn using a TRISTRIP while
still producing the same shapes for parts of the preview.
2020-03-19 23:25:24 +13:00
Matt Gajownik a8b8356455 UI: Add setting for Mixer add-on choice
MixrElixr Emotes is the emote-specific portion of
MixrElixr, a popular extension for Mixer chat.

Disabled by default.
2020-03-19 21:04:11 +11:00
Jim 885e1a78f6
Merge pull request #2519 from jpark37/wgc-support-catch
libobs-winrt: Catch more hresult exceptions
2020-03-18 20:38:47 -07:00
jp9000 e93d44dd18 UI: Get actual projector monitor name on windows 2020-03-18 20:37:56 -07:00
jp9000 113af5344c obs-ffmpeg: Make sure to show FFmpeg NVENC on non-windows 2020-03-18 17:02:56 -07:00
jpark37 f229d35a05 libobs-winrt: Catch more hresult exceptions
Wrap winrt_capture_supported and winrt_capture_cursor_toggle_supported
with try/catch.
2020-03-18 09:21:40 -07:00
jp9000 b3ca1bd059 win-capture: Retry with last known window if first fails
This fixes a bug where games like "Don't Starve Together" wouldn't
capture because their actual render window is a completely different
window than their actual window on the screen.

So, because we already have the hook info by this point with the last
known window handle available, instead of using 0 here, we can just use
the window handle provided by the shared memory.  And we didn't even
have to change the hook!  That's nice.
2020-03-18 07:53:21 -07:00
Jim 9b186a47e3
Merge pull request #2515 from WizardCM/browser-hwaccel-restart
UI: Restart when browser hardware acceleration changed
2020-03-18 06:13:52 -07:00
Jim cc3165a803
Merge pull request #2513 from jpark37/winrt-error-handling
libobs-winrt: win-capture: Clean up error handling
2020-03-18 06:13:23 -07:00
Matt Gajownik 4d0f279d08 UI: Restart when browser hardware acceleration changed 2020-03-18 21:47:23 +11:00
jpark37 e4e96c5cef libobs-winrt: win-capture: Clean up error handling
Use proper check to fix false positive on 1809, and rework error spew to
remove output parameters from winrt_capture_init.
2020-03-18 00:33:12 -07:00
jp9000 327a6f599e win-capture: Fix potential crash due to unhandled exceptions 2020-03-17 12:22:20 -07:00
jp9000 2570f22aa4 libobs: Update version to 25.0.0 2020-03-16 13:57:47 -07:00
Gol-D-Ace d74fc65047 Update translations from Crowdin 2020-03-16 20:14:50 +01:00
praveenkumar 2a7708424a rtmp-services: Add getloconow
Closes obsproject/obs-studio#2505
2020-03-16 09:48:04 -07:00
jp9000 9c92520211 rtmp-services: Fix formatting 2020-03-16 09:46:56 -07:00
jp9000 0fb34ed965 UI: Fix closing OBS before showing whats new dialog
The program can get stuck waiting for the browser within a event queue,
so instead mark that the program is closing, do it in a separate thread,
signal the window when it's finished, and then check whether it's in the
process of closing before actually showing the dialog.
2020-03-16 08:59:46 -07:00
jp9000 8faaf8491a obs-browser: Fix crash with certain settings combo
When enabling "local file", and the local file path is empty, CEF can
trigger an assert, causing a crash.
2020-03-16 06:33:14 -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 eda63032e0 UI: Enable BTTV login popup 2020-03-14 17:41:46 -07:00
jp9000 5722710f0a UI: Turn off T-bar mode when going out of studio mode 2020-03-14 16:28:06 -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 6209bea371 win-capture: Destroy winrt in graphics thread 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
Jim 9f00350688
Merge pull request #2498 from WizardCM/increment-filter
UI: Increment filter name automatically
2020-03-14 03:19:42 -07:00
Matt Gajownik d44faf9809 UI: Increment filter name automatically 2020-03-14 20:46:10 +11:00
Keith Packard 96924553f0 linux-capture: Use RandR monitors for screen information
RandR has two sets of screen geometry information:

 1. CRTC. These are the physical scanout engines in the hardware

 2. Monitors. These are the logical partitions of the screen.

By default, each CRTC gets mapped to a Monitor. However, some monitors
actually require two CRTCs to drive them due to limitations in the
scanout hardware. Users can also create 'virtual' monitors to support
VNC or other systems.

This patch makes the RandR code prefer the Monitor mechanism to the
older CRTC mechanism. If the server doesn't support a new enough RandR
version, the existing CRTC code is used instead.

The name of the monitor is also provided in place of the arbitrary
number to help users select the desired source.

Signed-off-by: Keith Packard <keithp@keithp.com>
2020-03-13 18:29:35 -07:00
Richard Stanway 81a20171b1 UI: Update stream key link for YouStreamer 2020-03-13 18:34:43 +01: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