Commit Graph

1401 Commits (c165798959b991ac1f1e04fbc7395b636085fc3c)

Author SHA1 Message Date
JohannMG 5c71c4a465 UI: Upgrade stream key link to button in Wizard
Follow up to #2145: https://github.com/obsproject/obs-studio/pull/2145
The wizard has a stream link URL as well, adding the button in the
wizard to match. Additionally, fixing a few  errors in the UI layout
and spacing where items were not padded.
2020-01-07 12:47:20 -08:00
jpark37 291393643e UI: Fix QResizeEvent leaks
Not sure if this is a valid pattern in the Qt world though.
2020-01-04 09:51:29 -08:00
Matt Gajownik eb1c69a9ff UI: Supply Windows manifest file 2020-01-01 15:58:48 +11:00
Jim e5871483ab
Merge pull request #2279 from Lqlsoftware/Lqlsoftware-UI-patch
UI: Properly inform user if recording path is invalid
2019-12-30 18:18:18 -08:00
Jim 8af794ceaf
Merge pull request #2276 from WizardCM/monospace-multiline
Add monospace font for multiline text property
2019-12-30 14:22:16 -08:00
Lqlsoftware 046464884a UI: Properly inform user if recording path is invalid 2019-12-30 14:18:32 -08:00
Scratch c71b9df594 UI: Change remux file paths to OS style separators
Fixes #2272
2019-12-30 13:56:44 +11:00
Matt Gajownik 62504dc651 libobs/UI: Support monospace font in multiline text property 2019-12-30 10:11:17 +11:00
Matt Gajownik 9446ca5511 UI: Halve width of tab in multiline text property 2019-12-30 10:10:16 +11:00
Jim 96f00cdffc
Merge pull request #2141 from cg2121/t-bar
Add t-bar to studio mode
2019-12-27 17:48:23 -08:00
jp9000 4428492e96 UI: Fix scene/source list item spacing 2019-12-27 17:28:14 -08:00
Clayton Groeneveld 68d88fa4c6 UI: Add t-bar to studio mode
Co-authored-by: Jim <obs.jim@gmail.com>
2019-12-27 16:41:28 -08:00
Exeldro 7f395c14b6 UI: Add Active/Inactive status to adv audio props
Allows the ability to see whether an audio source listed in advanced
audio properties is currently active or inactive (i.e. in an inactive
scene)
2019-12-27 11:44:29 -08:00
Exeldro 9f8dc0e218 UI: Add "Active Sources Only" option to adv audio props
Allows the ability to modify the properties of inactive audio sources
which may in scenes other than the one that is currently active.
2019-12-27 11:15:38 -08:00
jp9000 a6871b2c1d UI: Add setThemeID to qt-wrappers
Makes the function usable outside of just window-basic-stats.cpp.
2019-12-27 10:54:20 -08:00
jp9000 213c715f3d UI: Fix compile issue 2019-12-23 16:13:13 -08:00
Clayton Groeneveld a2298f3f94 UI: Add option to use percent instead of dB 2019-12-23 14:57:32 -08:00
Jim 0d45f4d577
Merge pull request #1748 from boxerab/ffmpeg-streaming
obs-ffmpeg: UI and back-end for obs-encoded streaming over various protocols such as SRT
2019-12-18 12:54:10 -08:00
VodBox 798556c068 UI: Ensure OBS launches when theme is missing
This change makes it so OBS will still launch even if a theme is
missing. This change also deprecates the "CurrentTheme" config key, and
is replaced by "CurrentTheme2".

This is because a previous change to make sure OBS fell back to the
System theme in case of a missing theme had been accidentally removed.
Changing the key prevents a new version of OBS setting a theme that
doesn't exist in an older version, which would prevent that version from
launching.
2019-12-16 08:12:57 +13:00
Alexander Kozhevin c11a30e02a rtmp-services: Add YouStreamer
(This commit also modifies the UI module)
2019-12-14 12:54:31 -08:00
jp9000 e2fa510436 UI: Add save button next to replay buffer button
Allows the ability to save replays with a button rather than with the
keyboard if desired.

Closes obsproject/obs-studio#1954
2019-12-12 17:59:20 -08:00
JohannMG b78cdc910b UI: Add Start Streaming settings check on start
When we use the server error to respond to user's failing to start a
stream it is slow to return an error and unclear to the user what went
wrong. This diff introduces a simple settings check before attempting
to stream and catch and explain specific URL/key issues to the user.

In the case of preset services we check there is a Stream Key before
attempting to start a stream.

In the case of "custom" we only verify there is a URL since for some
services that's all that is required or the user may use user/password
authentication.
2019-12-11 01:50:41 -08:00
JohannMG c4396e03a7 UI: Create UI Validation Helper Class
Pull UI validation and its helpers to their own class. This class will
be used to validate forms and perform UI-action checks such as
checking stream keys aren't empty and in this diff now holds the logic
to ensure there is a source before the person starts a stream.
2019-12-11 01:23:36 -08:00
Jim bcddf4ddbf
Merge pull request #2211 from VodBox/scene-grid-mode
UI: Add Grid Mode to Scenes Widget
2019-12-10 14:57:26 -08:00
jpark37 ecd6753dc7 UI: Allow switch to existing theme to reload
This is useful for people modifying the currently selected theme.
2019-12-08 14:43:23 -08:00
jpark37 bb04c961bc UI: Don't modify theme if already set
This includes reselecting the existing selection, and cancelling out of
settings altogether. Takes a long time (7 seconds) in debug builds.
2019-12-07 10:22:02 -08:00
jp9000 ccb7d897c6 UI: Delete cookies before connecting account
Fixes an issue where when trying to connect a Twitch account, and the
Twitch two-factor authentication check fails, the user will still
technically be logged in because the cookies will still be present, thus
when they try to click the "Connect" button again, it will skip the
login part (because they're already technically logged in), and just
give them the two-factor failure message without letting them enter in
their login information again.
2019-12-05 00:52:39 -08:00
jp9000 cfddf1112b UI: Fix bug in untested/unused function code path
In the current user interface code, OBSBasic::AddSceneCollection has a
qname parameter to allow explicitly specifying a name, but that code
path is unused in the UI code itself, and qname is typically empty.  If
qname is not empty, it does not properly generate a file name associated
with that specified scene collection name.  This fixes that issue.
2019-12-04 15:50:41 -08:00
Clayton Groeneveld 4e85843d4e UI: Fix source icons being shifted to the right 2019-12-03 05:55:52 -06:00
VodBox c0e2e7f12e UI: Add Grid Mode to Scenes Widget
Adds an option to the right click menu in the scenes widget to switch
modes. When in regular list mode, it'll let you select grid mode, and in
grid mode, it'll let you select list mode. Grid mode changes the scenes
widget to have a grid of buttons for scenes rather than a list, much
like XSplit.
2019-12-02 08:42:10 +13:00
jpark37 975513679b UI: Rename deprecated QPalette::ColorRole 2019-12-01 09:01:03 -08:00
jpark37 1ca4f0d1fe UI: Fix Qt deprecation warnings 2019-11-30 16:05:50 -08:00
Aaron Boxer 0881b4e722 UI: Use new ffmpeg-encoded-output for non-RTMP urls 2019-11-27 14:40:52 -05:00
Richard Stanway 2a917531fd
UI: Default stream / record confirm dialogs to "No"
Helps prevent accidental stream starting if for example a cat walks on
the spacebar while the button has focus.
2019-11-27 12:34:10 +01:00
Chris Angelico 7c540acc11 UI: Create an API for opening projector windows 2019-11-24 22:45:28 -08:00
Chris Angelico 412a75601e UI: Break out the opening of a projector into a slot function 2019-11-24 22:23:16 -08:00
Clayton Groeneveld 82ffcdc827 UI: Add source icons 2019-11-24 20:50:42 -08:00
Jim 87b02924d5
Merge pull request #2102 from cg2121/toggle-projector-mode
UI: Add ability to change projector type
2019-11-24 02:39:49 -08:00
Ford Smith eeafb3dbb3 UI: Fix wrong icon if recording stopped while paused 2019-11-22 23:54:01 -08:00
Jim c290e81a1a
Merge pull request #2094 from torresam/copy_sources
UI: Add copy/paste of multiple selected sources
2019-11-22 23:48:51 -08:00
jp9000 cafc9995d8 UI: Fix wrong icon if recording stopped while paused
Fixes pause icon getting stuck if you stream or use replay buffer while
recording, pause, then stop recording while paused.  The icon would get
stuck on the pause icon until all outputs were stopped.
2019-11-20 15:46:42 -08:00
Jim 317d058bf4
Merge pull request #2107 from cg2121/mantis-1554
UI: Fix swap scene issue with double click mode
2019-11-20 01:51:44 -08:00
Jim 7b49eb1d48
Merge pull request #2104 from cg2121/network-string
UI: Change advanced networking strings
2019-11-19 22:12:29 -08:00
Clayton Groeneveld 54e7b2c769 UI: Fix swap scene issue with double click mode 2019-11-19 22:10:22 -08:00
Clayton Groeneveld e151ce6f2a UI: Change advanced networking strings 2019-11-19 21:27:37 -08:00
derrod 3e841b221d UI: Add setting for Twitch chat add-ons choice
Both BTTV and FFZ are fairly popular however they do occasionally
interfere.  To give users the option to chose whichever one they like
most we add a new setting that allows BTTV, FFZ, both, or neither.

Defaults to "None" for new users.  Existing users will be migrated to
"Both" as that's the previous behavior.
2019-11-19 21:06:36 -08:00
jp9000 a03ade631f UI: Fix Twitch panels not using dark first time
When the panels start up for the very first time, the dark theme is not
used due to the local storage variable not being set by the first panel.
When the program is restarted, it'll be dark from then on out because
it's set by the secondary panels rather than the primary panel.  This
modifies it so that the locale storage variable is properly set by the
primary panel.
2019-11-19 20:46:44 -08:00
jp9000 d41536cf02 UI: Fix invalid escape sequences in regex string 2019-11-17 20:29:53 -08:00
Ford Smith ac75ec1247 UI: Add system tray icon to indicate when paused 2019-11-17 18:17:07 -08:00
Matt Gajownik 8efb6e92fe UI: Remove help icon from Interact titlebars 2019-11-16 10:23:03 +11:00
Jim 9bdb21205d
Merge pull request #2085 from ratwithacompiler/macos-python-fix
obs-scripting: Fix Python on MacOS
2019-11-14 20:38:53 -08:00
Jim def6fcb0ee
Merge pull request #2125 from DDRBoxman/appbundle
Fixes to make OBS work on Catalina
2019-11-13 12:21:13 -08:00
Jim d357e1eb6e
Merge pull request #2042 from WizardCM/custom-twitch-docks
UI: Add support for Custom (Legacy) Twitch Dashboard Docks
2019-11-12 16:45:37 -08:00
Jim 14d8f86745
Merge pull request #2081 from jpark37/cpp17
CMake 3.10, C++17, SWIG warnings
2019-11-11 11:49:40 -08:00
Jim fc54a3b708
Merge pull request #1974 from DDRBoxman/state
decklink-ui: Show the state of outputs in the decklink dialog
2019-11-11 07:13:52 -08:00
Colin Edwards a469d14264 decklink-ui: Show the state of outputs in the decklink dialog 2019-11-09 14:48:24 -06:00
Clayton Groeneveld bab3391ce4 UI: Use radio buttons for FLV track selection 2019-11-09 08:19:41 -08:00
Clayton Groeneveld 0676c385ba UI: Fix main transition being set to the quick one
This fixes an issue where using a quick transition, it would change
the main transition as well.
2019-11-05 23:47:28 -06:00
Jim cbfb779876
Merge pull request #2148 from eulertour/master
UI: Fall back to XGetWMName if XFetchName fails
2019-11-05 12:54:50 -08:00
Jim 57669ffcb7
Merge pull request #2146 from Fenrirthviti/recording-bitrate-fix
UI: Fix audio bitrate not being set in simple mode
2019-11-05 12:52:15 -08:00
Jim 17ddb8d62d
Merge pull request #2142 from cg2121/fade-to-black
UI: Add fade to black in studio mode
2019-11-05 12:50:29 -08:00
Colin Edwards 32690926b9 CI: Use custom macdylibbundler for OSX deps 2019-11-03 00:00:38 -05:00
JohannMG 3f6cf0e871 UI: Upgrade stream link hotlink to a button
Most of the top streaming services now have a link in the stream key
label. Upgrading this button to a button clarifies the assistance
for the important step of setting up a stream.

Creates a new type of button for URL opening simply which also
automatically updates the tootip to the current URL.

Includes addition of Twitter/Periscope URL to make this feature more
complete.
2019-10-30 12:09:07 -07:00
Devin Neal 7e25b0dc1e UI: Fallback to XGetWMName if XFetchName fails 2019-10-27 14:39:58 -07:00
Joel Bethke 63d66c87e4 UI: Fix audio bitrate not being set in simple mode 2019-10-25 10:56:26 -05:00
Clayton Groeneveld 1c005fcb51 UI: Add fade to black in studio mode 2019-10-24 19:00:33 -05:00
Jim de7ab74370
Merge pull request #2137 from AlexWayfer/revert_desktop_file_renaming
Fix desktop entry for GNOME shell without file renaming
2019-10-22 21:28:28 -07:00
Exeldro 478bf7c6af libobs: Add video info to filename formatting 2019-10-22 02:50:13 -07:00
Alexander Popov b83c657cf1 UI: Fix desktop entry for GNOME Shell
Discussion:
https://github.com/obsproject/obs-studio/pull/2130#issuecomment-544461351
2019-10-21 23:43:10 -07:00
Alexander Popov d30ab737a9 Revert "Rename com.obsproject.Studio.desktop to obs.desktop"
This reverts commit 322b8afddb.
2019-10-21 23:43:06 -07:00
Jim 6410bc646f
Merge pull request #2136 from cg2121/simplify-fullscreen
UI: Simplify fullscreen toggle code
2019-10-21 23:40:46 -07:00
Clayton Groeneveld e832b42f07 UI: Add ability to change projector type 2019-10-21 23:48:58 -05:00
Clayton Groeneveld 52a3a61a6e UI: Simplify fullscreen toggle code 2019-10-21 15:17:26 -05:00
Matt Gajownik acf2eae1e5 UI: Display Sample Rate with proper formatting 2019-10-19 19:10:39 +11:00
Jim 156e2f3aec
Merge pull request #2128 from Xaymar/return-to-break
UI: Fix checkable property groups
2019-10-16 03:57:36 -07:00
Jim f8a0bd6440
Merge pull request #2127 from cg2121/stats-hotkey
UI: Add stats reset hotkey
2019-10-15 23:06:21 -07:00
Michael Fabian 'Xaymar' Dirks fefcf5468a UI: Fix checkable property groups 2019-10-16 07:26:21 +02:00
Jim 7ed8f05f21
Merge pull request #2106 from cg2121/fix-preview-bug
UI: Fix issue with preview projector
2019-10-15 22:16:11 -07:00
Clayton Groeneveld c4169ba15a UI: Add stats reset hotkey 2019-10-15 23:20:35 -05:00
jpark37 9ac6609241 UI: Don't influence headers with using namespace
Preparation for C++17 compilation.
2019-10-15 21:08:40 -07:00
Jim 8a1ff1c475
Merge pull request #2103 from cg2121/rename-filters-shortcut
UI: Add ability to rename filters with F2 (Return on Mac)
2019-10-15 10:31:35 -07:00
Jim b524774254
Merge pull request #2100 from AlexWayfer/patch-2
Rename com.obsproject.Studio.desktop to obs.desktop
2019-10-15 10:24:38 -07:00
Jim 53661d90ce
Merge pull request #2096 from cg2121/unused-code
UI: Remove unused code from visibility item widget
2019-10-15 10:19:46 -07:00
Jim ce29224d4c
Merge pull request #2083 from exeldro/output_timer_tabstops
frontend-tools: output timer tab stop order
2019-10-15 09:22:31 -07:00
Matt Gajownik 59e274f623 UI: Add support for Custom Twitch Dashboard Docks 2019-10-15 21:38:18 +11:00
Matt Gajownik 51be039cf8 CMake: Build Windows modules with file descriptors 2019-10-15 21:34:12 +11:00
luz.paz d124e6402c docs/sphinx: Fix various typos
(This modifies UI, libobs, deps/obs-scripting, various cmake files)

Found using:
`codespell -q 3 -S *.ini,./UI/data/locale,./deps/w32-pthreads -L aci,dur,iff,mut,numer,uint`
2019-10-14 17:19:38 -07:00
Colin Edwards 747ce9b77c libobs: Use proper resource paths when running from an OSX bundle 2019-10-13 21:53:43 -05:00
Jim 09c7ec487b
Merge pull request #2064 from jpark37/bgra-swap-chain
D3D swap chain enhancements
2019-10-12 20:54:33 -07:00
Jim b327bf5deb
Merge pull request #2053 from Palakis/feature/frontend-api-transition-duration-changed
Frontend API: provide a "transition duration changed" event
2019-10-12 17:34:09 -07:00
Jim b910edd872
Merge pull request #2058 from Palakis/duplicate-scene-names
UI: set names on scenes duplicated for Studio Mode
2019-10-12 16:42:04 -07:00
Stéphane Lepin 881e49ce62 UI: frontend api "trans. duration changed" event 2019-10-12 16:29:44 -07:00
Jim 76fe77831d
Merge pull request #2037 from cg2121/compiler-warnings
UI, libobs: Fix compiler warnings
2019-10-11 16:38:48 -07:00
Jim 9fa1ec3ae9
Merge pull request #2114 from cg2121/fix-multiview
UI: Fix issue where multiview doesn't update
2019-10-10 19:15:07 -07:00
Clayton Groeneveld 016d4ee87f UI: Fix issue where multiview doesn't update 2019-10-10 20:12:20 -05:00
jp9000 ec769ef008 libobs-d3d11: Set maximum GPU priority
(This commit also modifies the UI)

This solves the issue where OBS would be deprioritized by Windows over
fullscreen games, causing OBS to lag out whereas the games would still
run fine.
2019-10-10 00:51:47 -07:00
Clayton Groeneveld a55f83a38f UI, libobs: Fix compiler warnings 2019-10-10 00:25:54 -05:00
Clayton Groeneveld 15129b5751 UI: Fix issue with preview projector 2019-10-09 02:43:48 -05:00
Clayton Groeneveld 30d2830c15 UI: Add ability to rename filters with F2 (Return on Mac) 2019-10-08 02:48:50 -05:00
jp9000 cda7f3e3fd Revert "UI: Remove FFZ from twitch integration"
This reverts commit c22d539a7b.
2019-10-07 18:24:38 -07:00
Alexander Popov 322b8afddb
Rename com.obsproject.Studio.desktop to obs.desktop
Now it's impossible to add OBS to favorites applications in GNOME:

https://imgur.com/B3bvnw4

I think it's because of inconsistency of `.desktop` file name and executable file name.

Just after renaming OBS can be manages as regular application:

https://imgur.com/acmzrNy
2019-10-08 00:09:12 +03:00
jp9000 c22d539a7b UI: Remove FFZ from twitch integration
Unfortunately, due to some conflicts between FFZ and BTTV (particularly
the fact that having FFZ enabled removes the BTTV settings menu items),
one of them needs to be removed.  For the time being, we'll remove FFZ,
because BTTV shows FFZ emojis anyway.
2019-10-07 13:36:56 -07:00
Clayton Groeneveld 0df2cd0cfe UI: Remove unused code from visibility item widget 2019-10-06 00:42:19 -05:00
Anthony Torres 6c32e9a8c7 UI: Add copy/paste of multiple selected sources 2019-10-05 00:04:35 -07:00
Richard Stanway 27b7f45fd7 UI: Fix path calculation for disk space check
When using custom FFmpeg output mode, the check would instead use the
standard recording path which is no longer visible in the settings. This
commit also simplifies the checks by moving the duplicated code to a new
function.
2019-09-27 15:04:07 +02:00
Rat a44ff34ef0 obs-scripting: Link _obspython as dynamic_lookup on MacOS
_obspython.so currently links directly against python as @rpath/Python
and has 3 common python install paths set as rpaths so it would only
work if a user had python installed at one of those hardcoded paths.

Don't link _obspython against python at all but instead link it with
"-undefined dynamic_lookup" so when it is imported by python all it's
undefined python symbols get resolved at runtime against the user
supplied python instance loaded into the process earlier.

The rpaths aren't needed anymore this way.
2019-09-26 23:42:33 +02:00
Exeldro a833d6bb9a frontend-tools: output timer tab stop order 2019-09-25 22:25:30 +02:00
jp9000 94cab1e536 UI: Hide mixer sources if audio deactivated
If audio is determined to be deactivated via the audio source (via the
new "audio_activate" and "audio_deactivate" signals), hide the audio
source in the mixer.
2019-09-19 23:38:53 -07:00
jp9000 6464d5f853 UI: Check for null pointer
This was actually the line of code that the mixer dock widget crash was
triggered by.  This technically shouldn't ever be null, but better to be
safe than sorry.
2019-09-19 05:39:25 -07:00
jp9000 9730578230 UI: Fix crash closing mixer dock panels
The function added to the BrowserDock class is SetWidget, not setWidget.

I realize now that using the same exact function name but with an
uppercase starting letter rather than a lowercase starting letter wasn't
smart.
2019-09-19 05:29:02 -07:00
Gol-D-Ace add59d5253 UI: Adjust locale name for zh-TW 2019-09-18 13:28:27 +02:00
Gol-D-Ace 03b5be75e4 Update translations from Crowdin 2019-09-17 23:21:00 +02:00
jp9000 3f28d44d00 UI: Fix extra browser panels always creating on startup
The extra browser panels would always create on startup due to the
visibility change.  This fixes that by ensuring that this call blocks
signals, and ensures that the call only happens on first creation by the
user and not when the user is loading on startup.
2019-09-15 13:18:13 -07:00
jp9000 5d19786e04 UI: Fix browser docks being unchecked when created
In the view -> Docks menu, when a user first creates a custom browser
dock, the menu item associated with them used to hide/show them will be
unchecked in the menu by mistake.  This ensures they're checked when
first created.
2019-09-14 19:37:37 -07:00
jp9000 3064887ae2 Revert "UI: Various screen reader fixes"
This reverts commit b5843caa48.

This breaks some hotkeys because the signals are tied to a signal which
is now triggered because "toggled" is used instead of "clicked", so just
revert it for now for the release and look at it later post-patch.
2019-09-12 13:55:31 -07:00
jp9000 5287518044 UI: Fix pause hotkey not working properly
Setting the check state cause the toggle signal to trigger, so it would
pause and immediately unpause.
2019-09-12 12:06:09 -07:00
jp9000 b486cc6f9e UI: Disable NVENC lookahead if dynamic bitrate on
Lookahead causes playback issues when bitrate changes mid-stream.
Bitrate can suddenly drop to 0, and other issues such as audio
stuttering on Twitch have been observed.  Turning off lookahead fixed
the issue.  Lookahead is normally off by default anyway.
2019-09-10 12:01:10 -07:00
jpark37 a1f1e1080e UI: Switch from RGBA to BGRA swap chain format
DirectX team member claims BGRA might have flip optimization benefits.
2019-09-06 19:39:50 -07:00
Jim 05e29d1679
Merge pull request #2062 from VodBox/screen-reader-fixes
UI: Various screen reader fixes
2019-09-06 17:50:05 -07:00
jp9000 65eac02cda UI: Shut down browsers when browser docks hidden
Shuts down the actual browsers internally when the browser docks are
hidden by user.
2019-09-03 19:12:36 -07:00
jp9000 7dd465cae1 UI: Refactor all browser dock classes in to one
Refactors all cases where a window class was created to show a browser
dock in to one class: BrowserDock.  Removes some unnecessary code
duplication.
2019-09-03 19:12:36 -07:00
VodBox b5843caa48 UI: Various screen reader fixes
This commit fixes various issues with screen readers in the main OBS
interface. These were tested using NVDA on Windows 10 1903.

Checkboxes or buttons which toggle, when receiving an activate signal
from the screen reader would visually update, but not perform any
action. This is because they're listening only for clicks. They should
all now be listening for toggles instead.

The screen reader would navigate through the UI in the order that
elements are defined in the .ui XML, and not by their row positions.
The XML has been reordered so that things should be defined in their row
order.

Audio track selection now says Track 1, 2, etc, rather than just the
number. Various checkboxes that just say "Enable" now have accessible
text that says what the enable is for (since it says "checkbox", the
fact it's an enable should hopefully be clear). Type in the recording
tab of output now has accessible text which says "Recording Type".

All the right side buttons in hotkeys now have tooltips, and by
extension, accessible text. Currently it does not yet say what hotkey
the action is in relation to, but that would require more locales.
2019-09-04 12:43:56 +12:00
craftwar 6ffc4f590a UI/updater: Fix variable type to format specifier 2019-09-02 21:14:21 +08:00
Stéphane Lepin 5156de4b17 UI: set names on scenes duplicated for Studio Mode 2019-08-31 22:20:43 +02:00
jp9000 41e9dd38fa UI: Clarify dynamic bitrate support in tooltip 2019-08-22 16:26:34 -07:00
jp9000 4dd96aa6d9 UI: Move "area" scale below bilinear, above bicubic 2019-08-22 15:15:44 -07:00
jp9000 1986445511 UI: Fix bug where FTL was using AAC instead of opus
When the streaming audio track was separated from the recording tracks
in advanced output mode in be8c06334, it mistakenly removed the opus
audio encoder code when FTL is used.  This restores that code.
2019-08-22 15:08:24 -07:00
Clayton Groeneveld e284b102d8 UI: Simplify toggle pause code 2019-08-20 06:37:48 -05:00
Clayton Groeneveld e770a775c6 UI: Update tooltip when paused 2019-08-20 06:37:22 -05:00
Vainock df88eeb092
UI: Fix inconsistency with spaces 2019-08-19 06:13:51 +02:00
jp9000 8ee0480138 UI: Add dynamic bitrate support to the UI
Adds dynamic bitrate support (marked as beta) to the advanced settings
for now.
2019-08-18 03:16:37 -07:00
jpark37 cc7d67d050 UI: Redundant/bad casts 2019-08-17 08:49:08 -07:00
Jim b59742d49a
Merge pull request #1949 from jb-alvarado/master
UI: Add ability to disable hotkeys when not in focus
2019-08-17 08:38:31 -07:00
Jim 5f7ff6fbcc
Merge pull request #1970 from cg2121/fix-warnings
various: Fix compiler/theme warnings
2019-08-17 08:22:03 -07:00
Jim 3a71487835
Merge pull request #1941 from VodBox/selection-box
UI: Add box select to preview
2019-08-17 08:19:05 -07:00
Jim ce51fa092c
Merge pull request #1992 from Xaymar/patch-tidy-up-1
Fix various clang-tidy and CppCheck warnings.
2019-08-17 08:16:46 -07:00
VodBox 128b90af9d UI: Add box select to preview
This change adds the ability to box select by clicking and dragging from
an empty part of the preview.

Shift + Drag add any items in the box to the selection. Alt + Drag will
remove items in the box from the selection. Ctrl + Drag inverts the
selected state for items in the box.
2019-08-17 07:42:14 -07:00
Jim f838136597
Merge pull request #1924 from cg2121/stop-recording-disk-full
UI: Stop recording when disk space is low
2019-08-17 07:17:04 -07:00
jp9000 7b5cc8c29d UI: Use "-inf" for muted volume level
The infinity character doesn't work on windows, so just revert to using
"inf" for now.
2019-08-16 13:06:06 -07:00
jp9000 6ba97a1ce4 UI: Clarify extra browser dock text 2019-08-16 05:07:09 -07:00
jpark37 9ae1b15fec UI: Fix Area sample count text
Downscale will either fetch 2x2, 2x3, 3x2, or 3x3 texels.
2019-08-15 21:38:55 -07:00
Clayton Groeneveld 5f7f2c1c97 UI: Fix compiler/Acri warnings 2019-08-15 03:00:06 -05:00
jpark37 0ea820b277 libobs: UI: Add Area scaling for downscale output
Now that Lanczos downscale blurring has been removed, the Area shader
can attempt to fill the void.
2019-08-14 22:33:52 -07:00
Jim d783b95f46
Merge pull request #2028 from WizardCM/connect-recommended
UI: Change Connect Account to Recommended
2019-08-14 19:10:22 -07:00
Matt Gajownik 80730417d0 UI: Change Connect Account to Recommended 2019-08-15 08:25:35 +10:00
Clayton Groeneveld 1e033aadca UI: Fix look of extra panels trash icon 2019-08-13 00:58:04 -05:00
Jim 2dbabd6b6e
Merge pull request #2019 from cg2121/rename-mixer
UI: Rename Mixer to Audio Mixer
2019-08-10 03:03:54 -07:00
Jim 1821c403b0
Merge pull request #2015 from obsproject/extra-browser-panels
Add ability to create custom browser docks
2019-08-10 03:02:52 -07:00
Jim ecfcb64056
Merge pull request #1994 from jpark37/faster-lanczos
libobs: Optimize lanczos shader, remove scaling
2019-08-10 03:02:26 -07:00
Clayton Groeneveld 4343e39ba7 UI: Rename Mixer to Audio Mixer 2019-08-10 02:27:02 -05:00
Jim 0fa22233a4
Merge pull request #1997 from Xaymar/patch-fix-spinbox-from-1979
UI: Fix Int/Float Sliders and Spinboxes by partially reverting PR #1979
2019-08-09 19:02:24 -07:00
Jim 36a123f653
Merge pull request #2006 from cg2121/pause-scene
obs-scripting: Add pause scene script
2019-08-08 20:15:23 -07:00
Jim 6694a9691d
Merge pull request #2007 from cg2121/rachni-pause-button
UI: Fix pause button checked color with Rachni theme
2019-08-08 20:13:52 -07:00
Jim 60c364027f
Merge pull request #2004 from IainCole/ic_remove_twitch_multichannel_support
UI: Remove Twitch from MultichannelWarning message
2019-08-08 20:08:45 -07:00
jp9000 0759652cee UI: Add the ability to create custom browser docks
Allows the ability for users to add custom browser widget docks that
they can use for their third party services if they feel the need,
mostly as a convenience tool so they don't have to open extra browsers
alongside the program.
2019-08-08 03:31:31 -07:00
jp9000 d5d8492bb3 UI: Add LineEditChanged and LineEditCanceled
These functions allow item delegates (editors) or item widgets with
event filters to detect whether a user has finished editing a line edit
control.  This separates the code so it can be used elsewhere than just
in the source tree widget.
2019-08-08 03:25:33 -07:00
Clayton Groeneveld 0c379f1c20 UI: Fix pause button checked color with Rachni theme 2019-08-04 06:50:23 -05:00
Clayton Groeneveld bbaad30be6 obs-scripting: Add pause scene script 2019-08-04 06:21:22 -05:00
Cole c7e77024ea UI: Remove Twitch from MultichannelWarning message 2019-08-03 14:08:15 -07:00
Michael Fabian 'Xaymar' Dirks bd8ead2d4b UI: Partially revert PR #1979
This broke support for various filters, sources and encoders and should not
have been merged as it is.
2019-07-27 19:21:46 +02:00
jpark37 30979a54fe UI: Fix Lanczos label with correct sample count 2019-07-27 08:39:00 -07:00
jp9000 aee84cc743 libobs: Add "monitoring by default" source cap
(This also modifies the UI module)

Adds the ability for a source to monitor by default.  This is mainly
aimed at browser sources, so that they do not stop outputting audio by
default like they used to.
2019-07-26 00:05:14 -07:00
Jim e153dc3777
Merge pull request #1943 from glikely/master
UI: Add option to warn on stop recording
2019-07-25 21:47:15 -07:00
Michael Fabian 'Xaymar' Dirks dc150ce0eb UI: Pass QColor as reference 2019-07-24 18:49:03 +02:00
Michael Fabian 'Xaymar' Dirks 3b0238fc11 UI: Catch by reference 2019-07-24 18:26:44 +02:00
Clayton Groeneveld d9a4842604 UI: Stop recording when disk space is low
This stops the recording when disk space is low. It is currently
set to stop when disk space is below 500 MB.
2019-07-23 15:28:29 -05:00
Richard Stanway 1684b9bddb
UI: Add links for Facebook stream key 2019-07-23 00:47:18 +02:00
Jim d396b2ec15
Merge pull request #1977 from cg2121/adv-audio-styling
UI: Improve look of adv audio control dialog
2019-07-22 02:59:58 -07:00
Jim c36a86bb46
Merge pull request #1973 from restreamio/master
UI: Add Restream integration: stream info widget, channels widget
2019-07-22 01:33:59 -07:00
Jonathan Baecker 19464e6552 UI: Add ability to disable hotkeys when not in focus 2019-07-22 01:20:12 -07:00
jp9000 985772d915 UI: Fix param logic of ResetHotkeyState calls
The parameter "inFocus" was being given the opposite of what the name
implies: it was being set to false when in focus, and true when not in
focus.  This fixes that confusion.
2019-07-22 01:17:29 -07:00
jp9000 9ca1e85f7d UI: Fix hotkeys working even when disabled in focus
Fixes a bug where the hotkey inject would trigger hotkeys despite
hotkeys being disabled when in focus.
2019-07-22 01:11:34 -07:00
Grant Likely 4e3ce938f2 UI: Add option to warn on stop recording
OBS has an option to warn before stopping a stream, but it doesn't have
a similar warning for recording. This can result in a recording being
unintentionally stopped.

Add an option to warn when the "Stop Recording" button is pressed.

Note: While OBS also has an option to warn on stream start, this
patch purposefully does not add similar warn on recording start option.
This is because accidentally starting to record isn't risky in the same
way that accidentally starting to stream is.
2019-07-21 22:57:31 -07:00
Jim 887857b71d
Merge pull request #1976 from cg2121/output-timer-pause
frontend-tools: Add option to pause output timer when rec is paused
2019-07-21 22:48:13 -07:00
Jim 1831165c5e
Merge pull request #1969 from cg2121/simplify-code
UI: Simplify resize output code
2019-07-21 22:33:46 -07:00
Clayton Groeneveld e5365ec583 UI: Improve look of adv audio control dialog 2019-07-21 22:31:10 -07:00
Jim 696cebb672
Merge pull request #1987 from SCG82/declare-override
UI: Declare missing overrides
2019-07-21 22:22:15 -07:00
SoftArch 225817b1ba UI: Add Restream.io link to stream key page
Allows the users to find their stream key via a specified link if they
opt to just use a stream key instead of integration.
2019-07-21 22:16:43 -07:00
SoftArch f914b45c7a UI: Add Restream.io bandwidth test stream key param
Allows testing bandwidth via streaming without the stream activating
remotely for viewers.
2019-07-21 22:16:43 -07:00
SoftArch 484c57181c UI: Add channels widget to Restream.io integration 2019-07-21 22:16:07 -07:00
Jim 168ae0af8e
Merge pull request #1979 from cg2121/suffixes
UI, obs-plugins: Add spinbox suffixes where necessary
2019-07-21 21:45:30 -07:00
SCG82 4a4fc3b68f UI: Declare missing overrides 2019-07-21 20:53:30 -07:00
Jim 6d6330ff03
Merge pull request #1983 from cg2121/infinity-symbol
UI: Display infinity symbol when volume is at 0 percent
2019-07-21 19:44:29 -07:00
Clayton Groeneveld 6da1df2ece UI: Display infinity symbol when volume is at 0 percent 2019-07-19 23:15:14 -05:00
jpark37 3456ed0644 libobs: UI: Remove DrawBackdrop() to save fullscreen pass
It's a waste of GPU time to do two fullscreen passes to render final mix
previews. Use blend states to simulate the black background of
DrawBackdrop() for the following situations:

- Main preview window (Studio Mode off)
- Studio Mode: Program

This does not effect:

- Studio Mode: Preview (still uses DrawBackdrop)
- Fullscreen Projector (uses GPU clear to black)
- Windowed Projector (uses GPU clear to black)

intel GPA, SetStablePowerState, Intel HD Graphics 530, 1920x1080

Before:
DrawBackdrop: ~529 us
main texture: ~367 us (Cheaper than drawing a black quad?)

After:
[DrawBackdrop optimized away]
main texture: ~383 us
2019-07-18 19:58:29 -07:00
Richard Stanway 15770712a8
UI: Set default maximum name length to 170 characters
As the names entered into this dialog can be used as part of file names
(for example, saving a scene collection), allowing long names can result
in silent data loss where OBS creates the collection and allows the user
to manipulate it, but it cannot be saved on exit. This is due to the
MAX_PATH limitation on Windows (260 characters). 170 was chosen to
accomodate the length of the user app data folder plus some room for
extensions like .json.tmp.
2019-07-18 16:16:03 +02:00
Clayton Groeneveld 42c6984771 frontend-tools: Make start/stop buttons checkable 2019-07-18 07:07:34 -05:00
Clayton Groeneveld 3ea354b4e4 UI, obs-plugins: Add spinbox suffixes where necessary 2019-07-18 04:03:38 -05:00
Clayton Groeneveld 64598732a6 frontend-tools: Add option to pause output timer when rec is paused 2019-07-17 00:02:15 -05:00
Clayton Groeneveld 5f5ba54a66 UI: Simplify resize output code 2019-07-15 04:50:42 -05:00
Jim 3975a7c42a
Merge pull request #1963 from WizardCM/mkv-default
UI: Change default recording format to MKV
2019-07-13 18:54:47 -07:00
Colin Edwards 0767a3d088
Merge pull request #1967 from Xaymar/patch-fix_property_groups_2
UI: Fix toggled signal of property groups
2019-07-13 20:32:19 -05:00
Clayton Groeneveld 866e1e15a8 UI: Add enable preview button
Closes #1966
2019-07-13 20:27:14 -05:00
Colin Edwards f2f78b98ef
Merge pull request #1964 from cg2121/dark-theme-groupbox
UI: Make Dark theme group box title bold
2019-07-12 22:10:03 -05:00
Colin Edwards 4ec072075d
Merge pull request #1958 from DDRBoxman/format
Apply clang-format to objective c code
2019-07-12 21:43:55 -05:00
Michael Fabian 'Xaymar' Dirks d2a71e6b1b UI: Fix toggled signal of property groups
The signal is actually called toggled(bool) and not just toggled(). Qt considers these two to be different signals.
2019-07-13 00:37:44 +02:00
Clayton Groeneveld 71f8a0bd5f UI: Make Dark theme group box title bold 2019-07-12 08:20:11 -05:00
Matt Gajownik ca12847aa8 UI: Change default recording format to MKV 2019-07-11 15:39:46 +10:00
Colin Edwards ad85a9fa25 Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
jp9000 eab10d48b2 UI: Add pause support
Adds support for pausing recordings.  When settings are eligible for
recordings, a pause button will appear next to the recording button.  If
the settings are not eligible, it will warn the user in the output
settings that they cannot pause recordings if those settings are used.
2019-07-08 08:11:56 -07:00