1260 Commits

Author SHA1 Message Date
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 c22d539a7b39f103fffc80649e3df628c1286f57.
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 b5843caa484068d6fcc5f5fe8ee2dc06078500ff.

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