0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
Commit Graph

760 Commits

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