Commit Graph

252 Commits

Author SHA1 Message Date
Martin Pulec
60ba9f615d CentOS 7 compat 2023-06-08 15:42:47 +02:00
Martin Piatka
111ee21dcd GUI: Eliminate a few copies
Get's rid of a few copies that Coverity was complaining about
2023-05-23 12:49:06 +02:00
Martin Piatka
3fde759168 GUI: populate options for all devices 2023-03-24 10:51:11 +01:00
Martin Piatka
bad2cb7a4b GUI: Remove hardcoded Display settings tab 2023-03-24 10:29:14 +01:00
Martin Piatka
eca875daf5 GUI: Generalize Display settings to device settings
Now settings will display options reported in capabilities for all
devices, not just displays. If there are no options reported for a class
of devices (e.g. audio capture) then the settings tab will not appear.
2023-03-24 10:29:14 +01:00
Martin Piatka
0966a41b54 GUI: Add device settingType to device struct 2023-03-24 10:29:14 +01:00
Martin Piatka
bb3cc2dfd9 GUI: Fix wrong controls being cleared 2023-03-24 10:29:13 +01:00
Martin Piatka
4a40ed67a2 GUI: Display settings: don't show displays that don't have any settings 2023-03-16 13:22:26 +01:00
Martin Piatka
0d1ac09863 GUI: Refactor codec settings 2023-03-16 13:22:26 +01:00
Martin Piatka
33e1d15f6d GUI: Build display settings from capabilities 2023-03-16 13:22:26 +01:00
Martin Piatka
90e83a5b66 GUI: Remove hardwired display settings 2023-03-16 13:20:43 +01:00
Martin Piatka
7c4597b4e6 GUI: Factor compress settings form building into function 2023-03-16 13:20:43 +01:00
Martin Piatka
932a2aa33f GUI: Add display options from capabilities 2023-03-16 13:20:42 +01:00
Martin Piatka
95556f5e53 GUI: available_settings: Parse & store device options 2023-03-16 13:20:42 +01:00
Martin Piatka
c6c814d89a GUI: Fix specific display device selection 2023-03-13 15:55:13 +01:00
Martin Piatka
77625ec771 GUI: Add '/' between commit and branch in version string 2023-03-13 15:12:35 +01:00
Martin Piatka
50bace80fe GUI: Remove no end marker error box 2023-02-28 13:00:42 +01:00
Martin Piatka
da1e3b0e21 GUI: Add safe mode for querying capabilities
Previously if UltraGrid crashed when probing a module, all remaining
modules would be left unqueried and missing.
This commit introduces a "safe mode", which tries to query each module
independently if querying everything at once fails.
2023-02-28 13:00:42 +01:00
Martin Piatka
63e0e85159 GUI: available_settings: Add queryBeginPass(), which doesn't clear 2023-02-28 12:51:08 +01:00
Martin Piatka
8fb2ca4c93 GUI: launch manager: allow relaunching currentContext from callback 2023-02-28 12:51:07 +01:00
Martin Piatka
5b6e948ecf GUI: available settings return modules as const ref 2023-02-28 12:51:07 +01:00
Martin Piatka
bcf4a447c5 GUI: use x-macro for capability types 2023-02-28 12:48:41 +01:00
Martin Pulec
41273b39da removed GUI dependency on fs.cpp
Now it would transitively depend on at least utils/{color_out,text},
which is perhaps not worth including.
2023-01-17 14:25:09 +01:00
Martin Piatka
897fddad65 GUI: Fix crash when refreshing capabs while codec settings are open 2023-01-17 13:24:34 +01:00
Martin Piatka
3563baa615 GUI: launch preview on ug exit 2023-01-13 12:20:07 +01:00
Martin Piatka
cc18861111 GUI: available_setting: Remove unused functionality 2023-01-13 12:20:06 +01:00
Martin Piatka
cddcfe9330 GUI: query capabilities line by line 2023-01-13 12:20:06 +01:00
Martin Piatka
0dfec28849 GUI: Fix codec settings refresh 2023-01-13 12:20:06 +01:00
Martin Piatka
bd2c7c9d17 GUI: Don't block on capabilities querying 2023-01-13 12:20:05 +01:00
Martin Piatka
63e7af8fc6 GUI: Rewrite launch manager using lambdas 2023-01-13 12:20:05 +01:00
Martin Piatka
9776bf1c56 GUI: vuMeter: parsing error handling 2022-11-29 12:53:27 +01:00
Martin Piatka
976778eaef GUI: Fix vuMeter layout when preview disabled 2022-11-29 12:53:27 +01:00
Martin Piatka
062ca8bcff GUI: No longer disable stats widgets in preview
Since there are now separate audio vuMeters, nothing gets sent via
loopback to the receiving side anymore, so there is no need to disable
those.
2022-11-29 12:53:27 +01:00
Martin Piatka
8d08adb4d7 GUI: Add audio stats filter to launch params
In preview add also the 'discard' filter, so that the audio doesn't get
sent to the receiving side (same behaviour as video).
2022-11-29 12:53:26 +01:00
Martin Piatka
1abf9fbb45 GUI: vuMeter: Copy first channel volume to second if mono 2022-11-29 12:53:26 +01:00
Martin Piatka
cbe619587f GUI: Separate vuMeters for send & receive 2022-11-29 12:53:26 +01:00
Martin Piatka
ff9736a726 GUI: vuMeter: parsing with configurable prefix 2022-11-29 12:53:25 +01:00
Martin Piatka
0a3abf8212 GUI: bandwidth: add tooltip 2022-11-23 13:37:27 +01:00
Martin Piatka
9205f2a5f8 GUI: bandwidth: report in bits as opposed to bytes 2022-11-23 13:37:27 +01:00
Martin Piatka
28ff3489b2 GUI: bandwidth: disable when preview is running 2022-11-23 13:37:26 +01:00
Martin Piatka
44cbec0087 GUI: Add send bandwidth widget 2022-11-23 13:37:26 +01:00
Martin Piatka
c3eff4fb9f GUI: ssrc_container: Zero initialize the new item
The remaining fields were set after the push_back(), but coverity
doesn't like that.
2022-11-21 13:26:40 +01:00
Martin Piatka
da228eea58 GUI: recv_loss: Guard against divide by zero 2022-11-21 13:26:40 +01:00
Martin Piatka
3c11b40eb8 GUI: rtcp RR widget: remove trailing '\n' in tooltip 2022-11-21 13:26:39 +01:00
Martin Piatka
930b5097ac GUI: recv widgets: Force Fusion style on win & mac
Native mac progressbars don't display the text, while windows style
displays it next to the bar in an ugly way.
2022-11-10 16:15:31 +01:00
Martin Piatka
91c1b0818c GUI: Disable recv loss widget when preview is running 2022-11-10 16:15:31 +01:00
Martin Piatka
4335246369 GUI: rtcp RR: support multiple streams 2022-11-10 16:15:31 +01:00
Martin Piatka
cd6b302bea GUI: rtcp RR widget: move parsing inside the class 2022-11-10 16:15:31 +01:00
Martin Piatka
e97e74957f GUI: recv_loss: Factor report collection into own class 2022-11-10 16:15:30 +01:00
Martin Piatka
f952a66cff GUI: parse RR with new format 2022-11-10 14:51:31 +01:00