Commit Graph
6330 Commits
Author SHA1 Message Date
jp9000 8c4af0fb7c libobs-d3d11: Check for bad NV12 output on all devices
Just to be safe, check for bad output on all devices.
2019-03-07 17:06:54 -08:00
jp9000 d3f72801c5 libobs-d3d11: Perform actual test for NV12 driver bug
Performs a test on a texture to determine if NV12 textures are
functioning correctly.  Older NVIDIA drivers appear to have a bug where
they will output their UV channel data on to the Y channel when copying
from the GPU.  This test on startup determines whether that bug is
occurring, and if so, disables NV12 texture support.
2019-03-07 17:06:54 -08:00
jp9000 14bda1e1f5 libobs-d3d11: Remove NV12 blacklist 2019-03-07 17:06:53 -08:00
jp9000 9d32c53dbc libobs: Always query shared texture handle for encoding
Always query the texture's shared handle in case the texture had to be
rebuilt from a driver crash.
2019-03-07 17:06:53 -08:00
SuslikVandjp9000 c5876ff3fa UI: Reset replay buffer button on "stop" signal
Fixes an issue when Start Replay Button stays at checked state if stop
signal generated (hotkey event for example) instead of mouse click.

Mantis: https://obsproject.com/mantis/view.php?id=1343
2019-03-07 17:05:14 -08:00
jp9000 e7cb1beab6 libobs-d3d11: Reset handle and re-lock if texture rebuilt
If a texture has to be rebuilt due to a driver reset and is a keyed
mutex shared texture, make sure to reacquire the shared handle and
acquire the lock.
2019-03-06 15:12:35 -08:00
jp9000 306296ca0c libobs-d3d11: Use discrete function to get shared handle
Allows us to reacquire the shared handle if the texture is rebuilt.
2019-03-06 15:12:34 -08:00
jp9000 de05409caf libobs-d3d11: Set acquired bool when texture acquired
This is used when the device needs to be rebuilt.  Ensures that the
texture doesn't get locked again if the texture is rebuilt.
2019-03-06 15:12:34 -08:00
jp9000 d4f5babd43 obs-ffmpeg: Always output SEI 2019-03-06 15:12:34 -08:00
jp9000 5505fa2f23 obs-ffmpeg: Fix SEI data output
SEI was using the wrong variable for its size.
2019-03-06 15:12:34 -08:00
VodBoxandjp9000 c08fbfe182 frontend-tools: Fix memory leak when reloading scripts 2019-03-06 15:12:34 -08:00
Matt Gajownikandjp9000 ea2c7eee66 UI: Update tab stop order in Settings 2019-03-06 15:12:34 -08:00
Colin Edwardsandjp9000 b2e8dc4af3 CI: macOS builds on Azure Pipelines 2019-03-06 15:12:33 -08:00
Colin Edwardsandjp9000 3ce5536f93 obs-qsv11: Fix crash on destructor after init failure 2019-03-06 15:12:33 -08:00
Colin Edwardsandjp9000 77a7a75873 obs-qsv11: Don't try to free non allocated array on destruction 2019-03-06 15:12:33 -08:00
jp9000 61c8669d2a obs-ffmpeg: Fix NVENC blacklisted card check
Apparently, the parameters were the wrong way, making the test always
fail to detect a blacklisted adapter.
2019-03-06 15:12:33 -08:00
jp9000 f2d7f5b2e7 obs-browser: Fix widgets being initially blank on high-DPI 23.0.1 2019-02-26 13:51:11 -08:00
jp9000 15b8ebb5e6 libobs: Update version to 23.0.1 2019-02-26 12:16:06 -08:00
jp9000 cea0a1e73a libobs-d3d11: Disable NV12 textures if NVENC unavailable
On NVIDIA devices, disable NV12 textures if NVENC unavailable just as a
safety precaution.
2019-02-26 12:09:00 -08:00
jp9000 340b8ec38e UI: Don't show "What's New" for new users 2019-02-26 12:00:27 -08:00
jp9000 587de2139d UI: Don't delete auto-remux file (just in case) 2019-02-26 11:29:00 -08:00
jp9000 ccd801b03e libobs-d3d11: Blacklist certain adapters from NV12
Some older adapters apparently can't handle NV12 properly.  Wonderful.
2019-02-26 08:37:55 -08:00
jp9000 6bf39f763d UI: Do not allow post-GPU rescaling on gpu encoders 2019-02-26 08:03:49 -08:00
jp9000 17e85f04fd libobs: Add func to get encoder caps by encoder pointer 2019-02-26 08:02:57 -08:00
jp9000 dccf686150 obs-ffmpeg: Fix bitrate being set on NVENC CQP/lossless 2019-02-26 07:43:38 -08:00
jp9000 ca6561758c UI: Fix Mixer allowing endless login retries 2019-02-26 07:24:22 -08:00
jp9000 1c4a6ca6c6 UI: Make workaround for Logitech plugin hard lock
In commit d17ee20863, we attempted to fix a race condition crash in the
Logitech plugin by deferring the "stream/recording/replay buffer active"
calls to the UI thread.  However, the Logitech plugin loop_function
funciton can call obs_frontend_streaming_active/etc functions while the
UI thread waits for the loop_function thread for many OBS events,
causing a hard lock in the Logitech plugin.  This fixes that by making
the obs_frontend_streaming_active/etc functions completely atomic
instead.  It's a bit of a hack but it's better than accessing objects.
2019-02-26 06:37:01 -08:00
jp9000 484c3847fc UI: Check CEF available when loading auth 2019-02-25 23:45:27 -08:00
jp9000 28860411dd libobs-d3d11: Improve check for NV12 texture support
Checks to make sure that DXGI_FORMAT_NV12 is actually supported by the
GPU.
2019-02-25 23:02:54 -08:00
jp9000 8181f77609 UI: Rename a bunch of bad file names 23.0.0 2019-02-25 12:19:22 -08:00
jp9000 b1dfc9ccda image-source: Change max loaded slideshow images to 21
Just gives a bit more breathing room before images start having to load.
2019-02-25 08:21:28 -08:00
jp9000 5dca0fde5b enc-amf: Update translations 2019-02-25 08:07:08 -08:00
jp9000 a87afeb69b obs-ffmpeg: Add more blacklisted NVENC adapters 2019-02-25 08:05:38 -08:00
Gol-D-Ace 98f78fe3a7 Update translations from Crowdin 2019-02-25 15:11:33 +01:00
JimandGitHub 59b0b6fdbd Merge pull request #1689 from cg2121/fix-replaybuffer-check-state
UI: Fix replay buffer checked state when no hotkey is set
2019-02-25 05:47:39 -08:00
Clayton Groeneveld 178fb21593 UI: Fix replay buffer checked state when no hotkey is set 2019-02-25 07:07:22 -06:00
Gol-D-Ace d5e7ba511d UI: Refine strings for About dialog 2019-02-25 00:28:08 +01:00
Gol-D-Ace ec42739ad5 Update translations from Crowdin 2019-02-24 23:26:47 +01:00
jp9000 e5fc045402 UI: Force Twitch moderation tools to system browser
In the Twitch chat dock window, the "Moderation Tools" link in the chat
settings should not navigate the window to the new URL; it should pop up
the URL in the user's system browser instead.
2019-02-24 01:02:06 -08:00
Richard StanwayandGitHub 61e3a9084b Merge pull request #1681 from Lordmau5/master
UI: Fix wrong filename building for Remux dialog
2019-02-24 01:44:43 +01:00
Lordmau5 af4c3ad030 UI: Fix wrong filename building for Remux dialog 2019-02-24 01:24:16 +01:00
jp9000 ef270c8ba0 obs-ffmpeg: Free NVENC textures after sending EOS
Prevents a crash when using the new lookahead feature, presumably
because those textures are in use when the EOS is sent.
2019-02-21 03:12:12 -08:00
jp9000 88247dae36 libobs: Update version to 23.0.0 2019-02-20 22:16:45 -08:00
jp9000 6e533d9a8a obs-browser, obs-vst: Update translations 2019-02-20 19:57:41 -08:00
jp9000 aaeb14ea64 UI: If auth startup failed, keep connected in settings
If the auth process failed on startup, the user is still able to use
their stream, just without the extra UI.  The auth object is still
technically existing, and the user can still stream, so don't treat it
like it's not connected in settings.
2019-02-20 19:22:33 -08:00
jp9000 9ffe7f5f94 UI: If Twitch account disconnected, retry login
If the user disconnects OBS from their Twitch account on their Twitch
settings panel, then try asking the user if they'd like to reconnect
before throwing an error.
2019-02-20 19:22:33 -08:00
jp9000 c144609ceb UI: If Mixer account disconnected, retry login
If the user disconnects OBS from their Mixer account on their Mixer
settings panel, then try asking the user if they'd like to reconnect
before throwing an error.
2019-02-20 19:22:33 -08:00
Colin Edwards 0170278ae2 UI: Fix scene list text edit sizing on dark theme 2019-02-20 20:24:55 -06:00
jp9000 eaf348decb UI: Actually fix non-windows compilation
This is a little bit embarrassing.  We'll just pretend we didn't see
that.
2019-02-20 18:01:42 -08:00
jp9000 f6225719cc UI: Fix non-windows compilation 2019-02-20 18:00:44 -08:00