Commit Graph

91 Commits

Author SHA1 Message Date
Martin Piatka
7772105ea4 GUI: Server & client network mode support 2024-10-02 13:56:01 +02:00
Martin Piatka
8c3af01e08 GUI: Show placeholder text for video & audio bitrate 2024-09-20 15:33:22 +02:00
Martin Piatka
8bd1caf70b GUI: Add an extra opts for user specified arguments 2024-08-19 14:57:34 +02:00
Martin Piatka
6ed4404417 GUI: vuMeter toggle should control both meters 2024-07-12 16:05:30 +02:00
Martin Piatka
99888c6bf6 GUI: LineEdit: Fix cursor jumping to the end when editing
The issue was that editing the text triggers the change of the option,
which in turn triggers updateUiState which sets the content of the
LineEdit to the changed option causing the cursor to jump to the end.

As a workaround only set the LineEdit contet when it's not focused.
2023-11-06 10:13:03 +01: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
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
50bace80fe GUI: Remove no end marker error box 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
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 Piatka
897fddad65 GUI: Fix crash when refreshing capabs while codec settings are open 2023-01-17 13:24:34 +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
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
894dbdcc65 GUI: Use "0" for a random port 2022-10-18 13:00:57 +02:00
Martin Piatka
1b9629fbe4 GUI: Use :convert for V4L2
The :RGB option was removed in e9c255d0e
2022-09-29 16:43:39 +02:00
Martin Piatka
415be28119 GUI: Get random control socket port by binding to 0
This lowers the chance of getting an already used port. This is still
not perfect as the port could still be taken before ug starts, but
should be good enough until we invert the client-server relationship
between gui and ug for control-port.
2022-08-22 15:30:07 +02:00
Martin Piatka
d084b4d74e GUI: pick a random port for control port 2022-08-19 14:38:03 +02:00
Martin Piatka
66a7a3058a GUI: settings: replace QRandomGenerator by std random 2022-08-16 10:32:55 +02:00
Martin Piatka
95d064d41a GUI: Use random key for preview sockets 2022-08-16 10:32:55 +02:00
Martin Piatka
7509ec4c9a GUI: settings: generate a random string as preview key 2022-08-16 10:31:50 +02:00
Martin Pulec
d5e0ac7354 GUI: missing override warning fix 2022-05-23 10:13:12 +02:00
Martin Piatka
243c7e112a GUI: Fix warnings about local helper functions 2022-03-24 14:38:35 +01:00
Martin Piatka
41775b81d4 GUI: Move the "Advanced" menu item to settings with better name
Probably all of the useful devices are now reported by capabilities, so
it's likely to be not even needed, so to avoid confusion it's moved into
the settings window and given a more descriptive name
2021-03-15 14:59:55 +01:00
Martin Piatka
cf357e516c GUI: Fix inconsistent formatting 2021-03-15 14:59:54 +01:00
Martin Piatka
152f8d95b0 GUI: Parse embedded audio support 2021-03-15 14:59:54 +01:00
Martin Piatka
15f5234b5f GUI: Remove unneeded video codec array 2021-03-12 13:48:04 +01:00
Martin Piatka
859a819cdb Revert "GUI: Fix embedded audio playback devices not appearing"
This was a dirty fix for #106. Video display devices were reported with
the module name and device option (e.g. "decklink:device=0"). The
display devices are now reported as separate module name and device
option strings, which means that we can test for exact match.

This reverts commit dc9ede91f1.
2021-03-12 13:48:04 +01:00
Martin Piatka
bc3946af0d GUI: move settings generation into settings class 2021-03-12 13:48:04 +01:00
Martin Piatka
2101b6234f GUI: Remove the need to specify device option for each module
All device configuration is now reported from capabilities in the same
way. Therefore it is now possible to generate the .device settings keys
during runtime for all reported modules
2021-03-12 13:48:03 +01:00
Martin Piatka
c2fb0b15f8 GUI: Allow adding only unique suboptions 2021-03-12 13:48:03 +01:00
Martin Piatka
ee4a2f3b11 GUI: Parse the new capabilities version 2021-03-12 13:48:03 +01:00
Martin Piatka
2b7f6006c3 GUI: Make sure modes are only displayed for associated device 2021-03-12 13:48:03 +01:00
Martin Piatka
9938384929 GUI: Check if capabilities are complete and have correct version 2021-03-09 14:39:44 +01:00
Martin Piatka
1777866a65 GUI: simplify device parsing 2021-03-09 14:39:43 +01:00
Martin Piatka
45d8002f66 GUI: iterate over the --capabilities lines only once 2021-03-09 14:39:43 +01:00