Commit Graph

849 Commits (1c4a6ca6c67d723d6729c357f59e5b2db768096f)

Author SHA1 Message Date
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 8181f77609 UI: Rename a bunch of bad file names 2019-02-25 12:19:22 -08:00
Gol-D-Ace 98f78fe3a7 Update translations from Crowdin 2019-02-25 15:11:33 +01:00
Jim 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
Lordmau5 af4c3ad030 UI: Fix wrong filename building for Remux dialog 2019-02-24 01:24:16 +01: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
jp9000 01c78bffc5 UI: Do not display threaded message boxes on startup
The message boxes that tell you that the browser is initializing or that
you're authenticating with twitch are annoying on startup.  It makes
sense to do it in the settings/autoconfig dialogs where you sort of need
to know what's going on while waiting for it to connect, but on startup
it's not really necessary and can be kind of annoying.
2019-02-20 17:35:02 -08:00
jp9000 0e4bef09f4 UI: Defer autoconfig to message queue
The Auto-Configuration dialog was being created outside of the Qt
message loop, which could cause a lockup with auth code.
2019-02-20 17:35:02 -08:00
Gol-D-Ace c3711bdd5e Update translations from Crowdin 2019-02-20 22:26:07 +01:00
jp9000 4722b764ca UI: Set replay buffer check w/ --startreplaybuffer
When starting the program with the --startreplaybuffer command line
parameter, it would not correctly highlight the button.
2019-02-19 19:27:54 -08:00
jp9000 103bec6526 UI: Fix disabling "resize output to source"
This should always be disabled if video output is active.  Additionally,
the expression used to determine whether it should be enabled/disabled
was very unreadable.
2019-02-19 19:26:37 -08:00
jp9000 0bab66ca52 UI: Make sure user can still stream if auth fails
The stream key is saved, so don't overwrite stream key with auth key if
the auth key is invalid.
2019-02-19 17:59:29 -08:00
jp9000 5fb02c02dc UI: Do not auto-remux if using FFmpeg output 2019-02-19 16:52:31 -08:00
jp9000 0ef96953c3 UI: Use QFileInfo for remux
Using QFileInfo is better than mangling the string together ourselves
manually.
2019-02-19 16:52:31 -08:00
jp9000 cc1db3a944 UI: Clean up code styling of ternary operator usage 2019-02-19 16:52:31 -08:00
Richard Stanway 69ffce3479 UI: Allocate space for null terminator 2019-02-19 21:57:22 +01:00
jp9000 d17ee20863 obs-frontend-api: Make a few frontend API thread-safe
Additionally, check for null output handlers.
2019-02-18 19:28:26 -08:00
jp9000 9cf40e230b UI: Fix profile duplicates using wrong cookies 2019-02-18 19:20:28 -08:00
Jim 6378a77a82
Merge pull request #1663 from Vainock/patch-3
UI: Remove unused "Beta" texts
2019-02-17 15:30:18 -08:00
Vainock ee27d19390 UI: Fix inconsistent use of ellipsis
Closes obsproject/obs-studio#1660
2019-02-17 15:27:20 -08:00
craftwar ed0908567c UI: Set preferHardware only when hw encoder is avail.
streamPage->ui->preferHardware doesn't exist if hw encoder is not
available

Closes obsproject/obs-studio#1665
2019-02-15 16:22:00 -08:00
jp9000 1f317fb80a UI: Hide instead of disable rescale
Hides the rescale option when selecting a texture-based encoder instead
of just disabling.
2019-02-15 16:20:40 -08:00
jp9000 066c11c307 UI: Add back auth for custom RTMP servers
This was a feature that was available when you chose custom RTMP server;
it was not considered when making the new version.  Note: it looks
unslightly, but it works for now.
2019-02-14 23:12:55 -08:00
jp9000 067c3e62a3 UI: Disable stream settings if streaming 2019-02-14 23:12:55 -08:00
jp9000 dab44ae75a UI: Suggest hw encoding by default depending on hw
In the auto-configuration dialog, use hardware encoding by default if
NVENC is available due to the fact that the latest generations of NVENC
currently has a better quality to bitrate ratio than veryfast x264 and
most other hardware devices.
2019-02-14 23:12:55 -08:00
Richard Stanway b2b269dfa7 UI: Remove unused help icon 2019-02-14 22:19:32 +01:00
Richard Stanway 0d8fa3fbb1 frontend-tools: Remove unused help icon 2019-02-14 22:19:07 +01:00
Vainock 63de5c78fb
UI: Remove unused "Beta" texts
Release 22.0.2: - Removed the "Beta" warning from the Auto-Configuration tool
The texts that the Auto-Configuration tool is in beta remained.
2019-02-14 20:55:08 +01:00
jp9000 7edbb2f149 UI: Delete cookies on profile removal 2019-02-13 19:39:55 -08:00
jp9000 1759d1beae UI: Wait for browser init before "what's new" dialog 2019-02-13 19:31:46 -08:00
jp9000 693e5f21b4 UI: Clear key in autoconfig when service disconnected 2019-02-13 19:31:46 -08:00
jp9000 a0e92303f2 UI: Estimate better resolution if using NVENC
NVENC has increased its quality to bitrate ratio over the years with
recent generations of hardware, so do not increase the minimum estimated
bitrate if NVENC is chosen in the auto-configuration dialog.
2019-02-13 19:31:46 -08:00
Colin Edwards 22f856bb7d decklink-output-ui: Add note about keyer output 2019-02-13 00:23:05 -06:00
jp9000 cf004ba3fe UI: Add default preset for NVENC in simple output 2019-02-12 16:07:14 -08:00
Richard Stanway 3d27e7c2c9 decklink-ouput-ui: Remove unused help icon 2019-02-12 12:58:28 +01:00
Richard Stanway 917318d8e8 frontend-tools: Remove unused help icons 2019-02-12 12:57:18 +01:00
Richard Stanway 43fbefb9ef UI: Remove additional unused help icons 2019-02-12 12:55:31 +01:00
Colin Edwards 55cee6ca0a
Merge pull request #1659 from DDRBoxman/leak
decklink-output-ui: Fix memory leak in save settings
2019-02-11 21:17:39 -06:00
Colin Edwards c8b58d8749 decklink-output-ui: Fix memory leak in save settings 2019-02-11 19:33:41 -06:00
jp9000 f3b8b2ec49 UI: Don't enable rescale if on "Use stream encoder"
Fixes a bug where if you set the advanced output recording encoder to
"use stream encoder", then reopened the settings window, that option
would become enabled again.
2019-02-11 17:12:34 -08:00