0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

1024 Commits

Author SHA1 Message Date
jp9000
8a50b28f55 UI: If from 23.0.1 or 23.0.0, hide activity feed
If the previous version was 23.0.0 or 23.0.1, hide activity feed by
default when loading twitch panel UI.
2019-03-06 19:13:12 -08:00
Alex Anderson
7e23d1b63e UI: Add Twitch Activity Feed
Closes obsproject/obs-studio#1721
2019-03-06 14:28:49 -08:00
Clayton Groeneveld
80875768ad UI: Redo settings icons 2019-03-05 19:54:12 -06:00
Clayton Groeneveld
b40d000648 UI: Add (Do not show again) checkbox to dock closing warning
Closes obsproject/obs-studio#1717
2019-03-05 15:33:03 -08:00
jp9000
4450843aa0 UI: Warn when closing dock widgets for first time
Users don't realize that dockable windows can be closed (hidden) and can
be shown again via the View menu.  This adds an explicit warning when
the user first closes a dockable window for their first time.  In future
versions, this should be changed to a dialog box with a "Do not show
again" checkbox.
2019-03-05 14:39:24 -08:00
jp9000
106222154a UI: Add way to exec std::function via invokeMethod
Allows the ability to use invokeMethod on the OBSApp object to execute
an std::function.  This allows deferring an std::function call to the Qt
event queue.
2019-03-05 14:39:24 -08:00
jp9000
fafcbeea9a UI: Always set first scene collection/profiles
Instead of relying on the default config values (which can change
depending on language), explicitly set the values when run for the first
time.
2019-03-05 12:50:53 -08:00
Colin Edwards
ed374645aa
Merge pull request #1703 from cg2121/preview-program-labels
UI: Add preview/program labels in studio mode
2019-03-03 22:42:38 -06:00
Clayton Groenveld
5a5efa0b3e UI: Add preview/program labels in studio mode 2019-03-03 22:38:23 -06:00
Colin Edwards
d40782f71f
Merge pull request #1674 from SuslikV/patch-13
UI: Reset replay buffer button on "stop" signal
2019-03-03 21:56:19 -06:00
Colin Edwards
eadeaeb3e6
Merge pull request #1710 from WizardCM/fix-settings-tab-order
UI: Update tab stop order in Settings
2019-03-03 11:41:52 -06:00
VodBox
9968772028 frontend-tools: Fix memory leak when reloading scripts 2019-03-03 21:45:37 +13:00
derrod
89fbc5449e UI: Show video container warning when selecting MOV
MOV and MP4 are closely related and the warning message applies to both
of these container formats.

Closes #1683
2019-03-02 23:28:50 -06:00
Matt Gajownik
f429fb971b UI: Update tab stop order in Settings 2019-03-03 10:50:54 +11:00
Colin Edwards
0f8c405e15
Merge pull request #1692 from pkviet/audiodisabled
UI: Fix locale for 'disabled' devices in audio settings
2019-03-01 12:57:50 -06: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
6bf39f763d UI: Do not allow post-GPU rescaling on gpu encoders 2019-02-26 08:03:49 -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
Clayton Groeneveld
ad55f413bb UI: Add ability to copy & paste filters from the mixer 2019-02-26 06:58:53 -06:00
jp9000
484c3847fc UI: Check CEF available when loading auth 2019-02-25 23:45:27 -08:00
pkv
f1cd604b62 UI: Fix locale for 'disabled' devices in audio settings 2019-02-25 23:06:10 +01: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
SuslikV
da87eff96f
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-02-20 18:09:39 +02: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
jp9000
83f0b98387 UI: Fix encoder preset locale text 2019-02-11 16:58:45 -08:00
jp9000
1b8ecae3b9 UI: Fix potential race condition for hover items
The graphics thread should not be accessing any Qt objects that aren't
guaranteed to exist.  Instead, store the currently hovering list/preview
scene items in the preview class.
2019-02-11 15:30:56 -08:00
jp9000
7068e61fd9 UI: Add OBSBasicPreview::Get helper func 2019-02-11 15:30:56 -08:00
SuslikV
a497d22659
UI: Add missing text string for Remux dialog 2019-02-11 18:48:36 +02:00
Richard Stanway
e0c3e1e957 UI: Allow compressed responses in RemoteTextThread 2019-02-11 15:09:19 +01:00
jp9000
1b45007530 Revert "UI: Use Twitch dashboard chat popout"
This reverts commit 6629c5d7b8.

Chat redirect only happens on raid, which is when you are ending your
stream.  That's acceptable behavior for the main chat window.
2019-02-10 22:50:46 -08:00
jp9000
6629c5d7b8 UI: Use Twitch dashboard chat popout
This uses the dashboard chat popout instead of the normal chat popout in
order to ensure that the chat doesn't get redirected for raids/hosts.
2019-02-10 22:41:00 -08:00
jp9000
3f59e2fb13 UI: Remove help icon from auth/what's new titlebars 2019-02-10 22:31:59 -08:00
jp9000
43f75ed02b UI: Add minimum size of OAuth login dialog 2019-02-10 22:19:00 -08:00
jp9000
975bed8935 UI: Fix autoconfig authentication not working
ServiceChanged() is used with multiple widgets, and should only be
cleared when the actual service has changed.
2019-02-10 22:09:58 -08:00
jp9000
c284d26163 UI: Increase Twitch "Stream Stats" height by 50
The default size was too small for affiliates/partners, and would cut
off subscribers.
2019-02-10 18:34:22 -08:00
jp9000
c07c5bb5f3 UI: Allow animated BTTV emojis 2019-02-10 18:22:03 -08:00
Colin Edwards
1af8789ce0 decklink-output-ui: Fix memory leak
Closes obsproject/obs-studio#1656
2019-02-10 18:16:10 -08:00
jp9000
53ba6c0350 UI: Enter graphics context before destroying texture
Fixes a memory leak where the texture would not be properly freed.
2019-02-10 18:13:21 -08:00
jp9000
8c819f9bbd UI: Make "What's New" dialog modeless 2019-02-10 16:27:51 -08:00
jp9000
b5e1a797c2 UI: Check that CEF loaded before loading integrations
Fixes a case where a certain plugin that entirely replaces OBS's own
browser plugin would cause OBS to crash with the new service
integration.  ..Yea.
2019-02-09 23:09:47 -08:00
jp9000
476716798b UI: Fix being unable to drag/drop source list items 2019-02-09 12:56:48 -08:00
jp9000
2680fb00b1 UI: Fix issue with Mixer
Mixer was using the Twitch ID.
2019-02-09 12:26:34 -08:00
jp9000
5d05ab6df6 UI: Do one time reset of dock lock state for v23
In order to make for a better user experience with service integration,
do a one-time reset of the docks locked state, and set the default lock
state to off.
2019-02-09 01:12:18 -08:00
Jim
aa9f226aec
Merge pull request #1653 from WizardCM/projector-monitor-count
UI: Start projector user-facing monitor count at 1
2019-02-09 00:46:58 -08:00
Matt Gajownik
6555db7c45 UI: Start projector user-facing monitor count at 1
Consistent with #1638
2019-02-09 19:34:56 +11:00
Warchamp7
b9510dac52 UI: Adjust Acri and Rachni themes
Various tweaks and adjustments to Acri and Rachni for 23.0

Closes obsproject/obs-studio#1652
2019-02-09 00:16:16 -08:00
jp9000
58be029b14 UI: Fix twitch stream stat window not centering
Fixes an issue where if you auth to twitch, then close the program
without unhiding the twitch stream stats panel, the next time that panel
was unhidden it would be at position 0,0 on your screen.  This
explicitly sets its position to be center of the window beforehand to
ensure that won't occur.
2019-02-08 14:50:50 -08:00
jp9000
96644b31ad UI: Add bttv emote button to Twitch chat window 2019-02-08 01:00:21 -08:00
VodBox
6c880fb3c8 UI: Change preview handles/outline and add hover 2019-02-08 20:58:40 +13:00
VodBox
f095cb2d0e UI: Add scene item canvas overflow to preview 2019-02-08 20:38:53 +13:00
Jim
e60023daf5
Merge pull request #1502 from DDRBoxman/decklinkoutui
Decklink: Add UI to control output
2019-02-07 22:12:54 -08:00
jp9000
79613b6696 UI: Use new NVENC by default in simple output mode
If the new texture-based NVENC implementation is available, uses it by
default when a user is using simple output mode.
2019-02-07 17:00:47 -08:00
jp9000
f5ad8b5d67 UI: If hardware encoder selected, disable post rescale
The post-output rescale option in advanced output mode cannot currently
be used with texture-based encoders, so disable the option when a
texture-based encoder is selected.
2019-02-07 17:00:47 -08:00
jp9000
9fee895359 UI: Use hardware encoding by default if available
If the user doesn't use the auto-configuration on first use, set the
default encoders used in simple output mode to hardware encoders.
2019-02-07 17:00:46 -08:00
jp9000
82848d513e libobs: Add obs_video_active() function
(This commit also modifies UI)

Adds a universal function for determining whether video output is
currently active, rather than having to use video_output_active() on the
value returned by obs_get_video().
2019-02-07 17:00:46 -08:00
jp9000
0a202ab77b UI: Fix potential race condition
The signal mutex can be locked within other signal mutexes, causing a
potential hard cross-lock when releasing certain sources.  Instead,
defer the Disconnect() call to the UI thread.

This fixes a potential freeze on exit.
2019-02-07 17:00:46 -08:00
jp9000
a88b440290 UI: Add Twitch integration 2019-02-07 16:28:19 -08:00
jp9000
4710c04204 UI: Add Mixer integration 2019-02-07 16:28:19 -08:00
jp9000
67bb8d7028 UI: Add auth. support to settings/autoconfig
Adds the ability to connect/login to an account via the settings and
auto-configuration dialogs.  Checks registered Auth objects, and if the
Auth object matches the currently selected service in the settings
window or auto-configuration dialog, will display "connect account"
buttons for the user to be able to click (which are optional, they can
still use stream keys if they'd prefer).
2019-02-07 14:47:16 -08:00
jp9000
ccc64df371 UI: Add obfuscation func
You could also say..  obs-fuscation.
2019-02-07 14:47:15 -08:00
jp9000
08fb29a035 UI: Add Auth and OAuth classes
Allows the ability to authenticate to a specific service.  Typically via
OAuth.
2019-02-07 14:47:15 -08:00
jp9000
1b8bc55f6a UI: Add func to load browser/cookies, but show dialog
Adds a function for initializing browser and cookies in a separate
thread while, and while waiting for it to complete, show a dialog
stating that the browser is currently being loaded.  Allows the ability
to safely prevent the user from taking any action without actually
freezing up the UI thread.
2019-02-07 14:47:15 -08:00
jp9000
fe043f2b2a UI: Add per-profile browser panel cookie management
Allows the ability to switch cookies between profiles.  Allows the
ability to, for example, switch streaming service accounts between
profiles for proper access to the pages displayed by the browser panels
(such as chat windows).
2019-02-07 14:47:15 -08:00
jp9000
940fd23cb4 UI: Switch to new browser panel code 2019-02-07 14:47:14 -08:00
jp9000
24bcfacea5 UI: Improve/refactor autoconfig/settings service UI
Makes it so that services can have custom handling on a per-service
basis.  The bottom part of the service pane is now a stacked widget
which can now be customized for different types of services
(particularly OAuth services).
2019-02-07 14:47:02 -08:00
jp9000
dcf48e8ffc UI: Add function for adding extra docks to main window 2019-02-07 14:47:02 -08:00
jp9000
412520c5d0 UI: Make assignDockToggle an actual function
Allows using it outside of the constructor.
2019-02-07 14:47:02 -08:00
jp9000
b89c2b76d3 UI: Add function to get main window more easily
Adds OBSBasic::Get() to just quickly return the main window.
2019-02-07 14:47:01 -08:00
jp9000
a0eab1a2ad UI: Add functions for executing funcs without blocking
Adds functions for executing functions within separate threads without
blocking the user interface, or by blocking the user interface with a
dialog box.
2019-02-07 14:47:01 -08:00
jp9000
74cda9a2cc UI: Add CreateQThread helper function
Allows creating a QThread via an std::function.  A backward-compatible
alternative to QThread::create for Qt versions older than 5.10 (when it
became available in Qt).
2019-02-07 14:47:01 -08:00
jp9000
58f4a6390f UI: Unlock UI by default 2019-02-07 14:47:01 -08:00
jp9000
08e6dcd516 UI: Add alternate constructor for RemoteTextThread
Allows specifying extra headers.
2019-02-07 14:47:00 -08:00
jp9000
44834bbf04 UI: Add timeout parameter to RemoteTextThread
Allows specifying a timeout for the operation.
2019-02-07 14:47:00 -08:00
jp9000
4ba48484ae UI: Only def. BROWSER_AVAILABLE for WIN32 (for now)
Currently, browser panel is only supported on windows.  So rather than
have to check for _WIN32 in the code everywhere, just move the WIN32
check to cmake, that way we don't have to have _WIN32 checks in the code
everywhere the browser panel code is used, and do not have to remove a
whole bunch of unnecessary _WIN32 #ifdefs for other operating systems
when browser panel support is added for them.
2019-02-05 19:20:59 -08:00
jp9000
c482f463e0 UI: Remove "service type" from auto-config stream page
The "Custom" service has been moved, and is now an item called "Custom"
in the "Services" combo box.  This simplifies the stream page of
auto-configuration and removes an unnecessary widget.  Overall a minor
but nice slimline/improvement on user experience.
2019-02-05 18:45:05 -08:00
Kevin Ross
a5fac7d78c UI: Enable high DPI scaling, for Qt >= 5.11
Closes obsproject/obs-studio#1602
2019-02-04 21:36:17 -06:00
Luke Granger-Brown
0c69f457a1 UI: Use Next button for GPL license page in windows installer
The GPL is not an EULA and thus it doesn't need to be agreed to.

See also:
https://github.com/HandBrake/HandBrake/pull/1776
c07d721462

Closes obsproject/obs-studio#1597
2019-02-04 21:21:17 -06:00
VodBox
86ce0e9652 frontend-tools: Call modified prop callbacks on script load/reload
This change means that the modified callback for a scripts properties is
always called when first loaded or on a reload. This behavior matches
the properties view for sources, where all modified callbacks are called
when the window opens. This change therefore treats reloading as
equivalent to reopening.
2019-02-04 19:49:34 +13:00
Matthew Orlando
54e7267ad9 UI: Show output's last error in failure dialog
Logs the last output error if given.
2019-02-02 15:29:05 -08:00
Matthew Orlando
f41bc2c32b UI: Fix unencoded stream failure
A stream will fail to start if the output_info does not have an
encoded_audio_codecs string, even if the output is not flagged as
encoded. This allows unencoded outputs to omit that string.
2019-02-02 15:16:15 -08:00
Stéphane L
a8944d0a34 UI: add a default black background to the PGM output of the multiview 2019-02-02 15:42:12 +01:00
Matt Gajownik
4b9d050b33 UI: Automatically generate Windows file description
This defines the main OBS Windows executable with a resource file,
including a version number accessible externally and a File
description which appears in Windows Task Manager.
2019-02-02 11:22:31 +11:00
Colin Edwards
b5e656828f
Merge pull request #1615 from restreamio/restream_auto_config
UI: Add support for Restream "Auto" server in auto-config
2019-02-01 18:12:19 -06:00
ty2570
a20aeb8362 UI: Clear out previous projectors when loading saved projectors
Closes obsproject/obs-studio#1544
2019-01-31 21:46:32 -06:00
pkv
1f5dd38a40 UI: Fix audio recording for lossless simple (#1616)
The first audio track was not recorded following the API changes for
 custom ffmpeg recording (adding multi-track support).
 This fixes the issue (spotted by EposVox, thanks to him for the report).
2019-01-30 22:58:22 -06:00
pkv
62fa2b0086 UI: Fix a series of mem leaks (#1614)
* UI: Fix mem leak with projectors

* UI: Fix mem leak with ScaleFilteringMenu

* UI: Fix mem leak with sourceProjector

* UI: Fix leak with preview projector in Source menu and Preview

* UI: Fix mem leaks with background color menu

* UI: Fix leak with deinterlace Menu

* UI: Fix leak with scene transition override menu

* UI: Fix leak with scene projector menu

* UI: Fix leak with filter shortcut in Main

* UI: Fix leak with filter shortcut in stats
2019-01-30 20:33:15 -06:00
jp9000
8f52179912 UI: Fix accessibility/narration text on sources list
Fixes the narration reading (for the blind) for items in the sources
list; previously they would not be read due to the new custom model.
This issue is solved by returning the name of item in the form of a
QVariant of a QString returned from the QAbstractItemModel::data virtual
function when the Qt::AccessibleTextRole role is used.
2019-01-20 00:55:56 -08:00
SoftArch
88c10380e5 UI: Add support for Restream "Auto" server in auto-config
Uses the "Auto" server automatically for Restream rather than doing a region-based test on multiple servers.
2019-01-19 22:24:01 +02:00
jp9000
87ca80deac UI: Fix infinitely incrementing showing ref 2019-01-13 21:00:46 -08:00
jp9000
8dc7e4a558 UI: Set minimum negative sync offset to -950
Prevents audio from cutting out below the -1000 offset (approximate)
threshold.
2019-01-12 18:12:53 -08:00
jp9000
8f106dc3c1 libobs, UI: Do not log redundant warnings
Reduces log file clutter by not logging certain warning messages that
were already safe/normal/expected failures.
2019-01-12 16:50:55 -08:00
jp9000
455187e6e4 UI: Add date/time to log file
Although log files are saved with the date in the name of the log file,
it's also nice to be able to see it inside the log file itself,
especially when uploaded to a text service.
2019-01-12 16:35:43 -08:00
Jim
3225359e6c
Merge pull request #1587 from VodBox/sc-export-save
UI: Save scene collection before export
2019-01-05 10:47:29 -08:00
bth
12265ac449 UI: Fix Defaults button not triggering UI update
Update all UI at default values when clicks "Defaults" button in the
source Properties.

This fixes mantis issue 1242.

Closes obsproject/obs-studio#1592
2019-01-05 07:12:02 -08:00
Jim
06f0203b22
Merge pull request #1581 from rkfg/dev
UI: Support fractional scaling
2019-01-04 16:05:50 -08:00
VodBox
ab6c3e0f4b UI: Save scene collection before export 2018-12-21 11:26:13 +13:00
rkfg
4e9e692a69 UI: Support fractional scaling
On Linux the preview widget scaling uses only the integer part of the
scale. This results in a partially non-repainting window that looks
buggy and annoying.
2018-12-20 19:34:40 +03:00
pkviet
d5fbb97990 UI: Revert default tab in Settings > Output: Advanced to Stream tab
Commit 2fedcab987 changed the default index for widget "advOutTabs"
in OBSBasicSettings.ui; revert to index 0 (stream tab).
2018-12-20 03:27:21 +01:00
probonopd
f1b9f6b3ce UI: Show "OBS Studio" in linux desktop link
Closes obsproject/obs-studio#1563
2018-12-07 12:51:09 -08:00
pkviet
736b7f0d35 UI: Fix display of mono source with surround output
A mono input with surround output is upmixed by swresampler by routing
it to FC (front center) by default which corresponds to third channel
for 3.0, 4.0, 4.1, 5.0, 5.1, 7.1. (The other channels are muted.)
But the volume meters are set to show the first channel for mono sources.
Therefore although audio is processed, it would not show on the meter.
This fixes this display issue.

Closes obsproject/obs-studio#1540
2018-12-07 12:38:17 -08:00
Olivier Humbert
711230e627 UI: Add French to UI/dist/obs.desktop
Closes obsproject/obs-studio#1551
2018-12-06 05:43:17 -08:00
jp9000
2168458601 UI: Add /LARGEADDRESSAWARE for MSVC x86 executable
Use /LARGEADDRESSAWARE linker option when compiling 32bit executables on
Windows.

Closes obsproject/obs-studio#1546
2018-12-04 08:56:58 -08:00
Jim
884e61f078
Merge pull request #1538 from cg2121/fix-batch-remux-warning
UI: Fix batch remux compiler warning
2018-12-03 14:41:12 -08:00
Jim
64104e6e35
Merge pull request #1531 from SuslikV/patch-8
UI: Remove scrollbar line controls for Dark theme
2018-12-03 06:13:51 -08:00
Jim
4f706a1b78
Merge pull request #1523 from cg2121/fix-saved-projectors-bug
UI: Fix bug when loading saved projectors
2018-12-03 05:28:14 -08:00
Jim
1db398ad8c
Merge pull request #1518 from fredemmott/stopping-on-delay-stop
ui: Emit STREAMING_STOPPING when stop queued
2018-12-03 04:27:18 -08:00
Clayton Groeneveld
92f44fe080 UI: Fix batch remux compiler warning 2018-11-06 06:52:01 -06:00
SuslikV
7656ee95db
UI: Remove scrollbar line controls for Dark theme
Fixes an issue when it's hard to perform drag-by-mouse move of the
scrollbar while handle is at corner and has minimum size.

Info: the handle minimum size styled as 20px, while add/sub-line is
14px, thus only 6px left for mouse drag when handle resides at corner.
While handle styled to cover whole bar including, subcontrol elements,
it is better to remove the hidden subcontrols completely.
2018-10-26 18:46:24 +02:00
Colin Edwards
22fdda311d Decklink: add UI to control output 2018-10-23 18:57:17 -05:00
Clayton Groeneveld
271322bf65 UI: Fix bug when loading saved projectors
This fixes a bug on Linux where fullscreen projectors wouldn't
quite be fullscreen when loaded on start.
2018-10-22 00:32:57 -05:00
Fred Emmott
bab9d6e96d
UI: Emit STREAMING_STOPPING event immediately
If there's a delay, it will *also* be ommitted after the appropriate
number of seconds.

I was originally going to add a new event for this, however this is
consistent with STREAMING_STARTING, which is emitted at the start
of the delay, not the end.
2018-10-17 18:52:20 -07:00
pkviet
047e586eaf UI: Add multi-track FFmpeg output support 2018-10-04 20:32:35 -07:00
Terje Gundersen
8b98568bbc UI: Don't transition if already transitioning (studio mode)
Closes obsproject/obs-studio#1304
2018-10-01 19:37:33 -07:00
Clayton Groeneveld
e8687b0965 UI: Fix typo with resize output text 2018-09-27 18:46:41 -05:00
Jim
94e44e698e
Merge pull request #1497 from cg2121/fix-autoremux-warning
UI: Fix auto remux warning
2018-09-25 15:05:54 -07:00
Clayton Groeneveld
c74e70ce49 UI: Fix auto remux warning
This fixes the QAbstractItemModel invalid index warning.
2018-09-25 14:19:50 -05:00
Clayton Groeneveld
b85f9236d8 UI: Change resize output text
The text for resizing the output based on source is inaccurate
because base and canvas are the same thing.
2018-09-23 20:42:05 -05:00
Jim
e08e3c9c29
Merge pull request #1441 from cg2121/auto-remux-refactor
UI: Add option to auto remux
2018-09-21 15:47:46 -07:00
Jim
b4d179461e
Merge pull request #1458 from cg2121/dynamic-output-size
UI: Add ability to resize output based on source size
2018-09-19 15:56:42 -07:00
cg2121
7f9109091d UI: Add ability to resize output based on source size 2018-09-18 23:13:12 -05:00
cg2121
2fedcab987 UI: Add option to auto remux 2018-09-18 20:55:12 -05:00
jp9000
977a21b684 UI: Remove '?' from remux title bar 2018-09-18 17:00:01 -07:00
jp9000
cb4d2ff7fa cmake: Find Qt first before going to subdirectories 2018-09-18 10:03:07 -07:00
Jim
f23c19fd14
Merge pull request #1492 from Dmitry-Me/properSizeComputation
UI: Fix array length computation
2018-09-18 09:00:20 -07:00
jp9000
8b936a1575 cmake: Fix UI being dependent on browser plugin files
The UI currently is dependent on browser source files being present,
when in actuality the files may not have been fetched (i.e. not fetching
submodules).  This fixes that by using a macro to detect whether it's
available or not.

Closes obsproject/obs-studio#1490
2018-09-18 08:56:34 -07:00
Dmitry-Me
5b92cee48f UI: Fix array length computation 2018-09-18 16:27:23 +03:00
SuslikV
a6c8cdec00
UI: Fix scrollbar misalignment for Acri theme
Fixes an issue with horizontal scrollbar when it was hard to drag it by
mouse in Acri theme, because active area was thinner than the visible
scroll handle.
2018-09-17 14:41:46 +02:00
SuslikV
ac783946d0
UI: Fix scrollbar handle alignment for Dark theme
Fixes an issue when it was hard to drag by mouse the scroll handle in
Dark theme if scroll handle size is close to full size
(https://obsproject.com/mantis/view.php?id=466) or close to minimal
size.

Also, the mouse pointer was misaligned to the scroll handle when
moving: the scroll handle always moves faster than mouse pointer itself
and finishes first.
2018-09-17 14:29:29 +02:00
Shaolin
823c34f848 UI: Fix system tray context menu creation
On KDE and Unity some QT events aren't triggered as explicit stated
by QT doc.  This is needed to at least show a fixed Context Menu.

Closes obsproject/obs-studio#1252
2018-09-16 16:25:17 -07:00
Shaolin
e650162608 UI: Organize unused/duplicate includes 2018-09-16 16:25:17 -07:00
jp9000
e51adb0fdf UI: Undo/fix stats dock changes to main window
The stats dock was incorrectly added to the .ui file, causing the stats
dock to show by default on startup, and just generally causing a bad
default startup UI appearance.  This fixes that by adding the stats dock
programmatically/dynamically instead of modifying the .ui file.
2018-09-16 12:47:21 -07:00
Marvin Scholz
8c4b496ea0 UI: Add 4th aux audio input device
Closes obsproject/obs-studio#1343
2018-09-15 12:34:53 -07:00
jp9000
7bbdace1a9 frontend-tools: Increase instant replay playback retry interval 2018-09-15 12:05:45 -07:00
Exeldro
79ff554f90 frontend-tools: Add VLC support to instant replay script
Add support for using the VLC source to play instant replays.

Closes obsproject/obs-studio#1334
2018-09-15 12:04:25 -07:00
nleseul
797b3dc121 UI: Batch remux and drag/drop support on remux dialog
This changes the remux dialog to support a collection of input/output
pairs, presented as a QTableView.  Standard Qt icons are used to
indicate the state of each entry during a remux operation.  Drag/drop
support is added to populate the list quickly.  Both Dark and Rachni
themes are updated to make QTableView look reasonable.

Relevant text is added in the localization files.

Closes obsproject/obs-studio#1153
2018-09-14 02:04:28 -07:00
Jim
4659efc791
Merge pull request #1486 from cg2121/about-dialog-styling
UI: Change about dialog bottom color (light theme)
2018-09-13 19:53:03 -07:00
Clayton Groeneveld
11cd83edf5 UI: Change about dialog bottom color (light theme)
This changes the bottom area color for the about dialog
for the light theme. This color makes it more consistent
for the theme.
2018-09-13 19:46:11 -05:00
Jim
179239b471
Merge pull request #1450 from WizardCM/dark-theme-updates
UI: Dark theme padding and alignment fixes
2018-09-13 01:09:50 -07:00
jp9000
b3ef46d986 cmake: Make static VC runtime libraries consistent
Makes Visual C runtime libraries consistent across
Debug/MinSizeRel/Release/RelWithDebInfo, rather than just changing those
flags for RelWithDebInfo.  Also adds /Zl for statically linked
libraries.

Closes obsproject/obs-studio#1421
2018-09-12 07:49:13 -07:00
cg2121
0ae8a7c0ac UI: Add ability to style preview background color 2018-09-10 04:55:15 -05:00
Matt Gajownik
643b2538d7 UI: Dark theme padding and alignment fixes 2018-09-10 19:03:14 +10:00
Jim
8e53932afd
Merge pull request #1406 from VodBox/hotkey-search
UI: Add Search to Hotkeys settings menu
2018-09-10 01:08:38 -07:00
VodBox
22f6d3fea5 UI: Add Filter to Hotkeys settings menu
This commit adds a filter bar to the top of the hotkeys settings menu,
with it set to look for matches anywhere in the string label for that
hotkey.
2018-09-10 09:31:04 +12:00
cg2121
79aaa32ba2 UI: Set about dialog as non-resizable 2018-09-08 13:28:56 -05:00
Jim
78d940e0f4
Merge pull request #1346 from dtcooper/master
libobs/UI: Allow Access To argc/argv
2018-09-08 01:29:43 -07:00
Jim
413e8e6a7b
Merge pull request #1442 from cg2121/stereo-audio-balancing
UI: Implement stereo balancing
2018-09-07 21:28:56 -07:00
cg2121
11f1442a3c UI: Add ability to reset sliders when double clicked 2018-09-07 09:27:20 -05:00
cg2121
a4a7deeed6 UI: Implement stereo balancing 2018-09-07 09:27:14 -05:00
cg2121
8882cfc484 UI: Remove license agreement dialog 2018-09-07 06:08:31 -05:00
cg2121
36b0ef5b7e UI: Add about dialog 2018-09-07 06:08:31 -05:00
Jim
06488a55ce
Merge pull request #1416 from admshao/cleanup-macro-declaration
Cleanup Compilation warnings
2018-09-07 00:51:58 -07:00
Shaolin
b5ee8a9a5d UI: Prevent format-truncation compiler warning
Variables path and dir with the same declared size triggers a compiler
warning about possible truncation. Although, depending on the path
where profiles are stored, its still possible to go beyong the declared
size and the path will be invalid. This will not trigger any
compilation warning and all invalid paths will be cought by the already
check in the os_glob function.
2018-09-06 22:10:29 -03:00