Commit graph

172 commits

Author SHA1 Message Date
Stéphane Cerveau 1f200f4f30 app: update to gtk 0.8.0 and gst 0.22.2
In the change, the glib::channel has been dropped to use
async_io which achieves the same to receive message
for the logger and display it in the treeview.
Another message is received when a new gtkpaintablesink
has been instanciated.
2024-03-14 16:34:55 +01:00
Stéphane Cerveau 3985458832 properties: can now support ParamSpecFloat 2024-01-23 10:29:57 +01:00
Stéphane Cerveau b1ad0e958b graphmanager: fix typos detected by pre-commit 2024-01-05 11:25:03 +01:00
Stéphane Cerveau 9c8a578e05 gps: fix typos and format detected by pre-commit 2024-01-05 11:25:03 +01:00
Stéphane Cerveau 3e15b7cecb graphmanager: remove link export 2024-01-05 11:25:03 +01:00
Stéphane Cerveau 51769d6061 logger: support variable length for logger split 2024-01-04 15:20:14 +00:00
Stéphane Cerveau 3aded523c2 element: add property special case for float 2024-01-03 13:52:04 +01:00
Stéphane Cerveau d3005335b8 logger: add function name in the logs 2024-01-03 13:25:49 +01:00
Stéphane Cerveau 18458e3465 properties: fix expect for ParamSpecFlags 2024-01-03 13:25:49 +01:00
Stéphane Cerveau a6f03db8f6 element: element property special convert for enum and flags
In element_property, add special case enum and flags
property to use a better value such as nick or the
proper u32 flags
2024-01-03 13:25:49 +01:00
Stéphane Cerveau bed8d6a58e logger: fix clippy complain 2024-01-02 14:51:38 +01:00
Stéphane Cerveau c5f9cac444 app: support cmd line to open a custom pipeline
Add a way to open a pipeline from the cmd line
2024-01-02 14:51:03 +01:00
Stéphane Cerveau 8c6cda2e92 player: feed the app with gst logs
Get the debug callback to retrieve the gst logs
and display it in the debug tab.
2023-11-30 11:54:15 +01:00
Stéphane Cerveau 9c03de5d00 player: keep a reference to bus_watch_guard
In order to receive the message from the bus
the API enforces to keep a reference to the bus_watch_guard
otherwise the watch gets lost.
2023-11-30 11:52:28 +01:00
Stéphane Cerveau 24121856ee app: use the channel to receive other logs
Add another logger to receive message, events or GST logs
2023-11-30 11:52:28 +01:00
Stéphane Cerveau e410289a13 ui: support multiple tab in debug section
Add GST logs, message, events in the debug section
2023-11-29 23:16:06 +01:00
Stéphane Cerveau e12fecf971 settings: create the default app folder
To avoid a crash if the settings folder is
not present and the log can not be created properly
2023-09-28 16:45:01 +02:00
Stéphane Cerveau 2787211f0d release: update release version fetcher 2023-09-23 09:05:30 +02:00
Stéphane Cerveau 4569fa79e8 meson: set minimum version of meson==0.63.0 2023-09-22 14:33:26 +02:00
Stéphane Cerveau 66cd1b9c15 app: use default size to save/load app size
Use maximize on all platform except
macos

Fixes #19
2023-09-20 22:20:10 +02:00
Stéphane Cerveau 1789bb0b25 app: remove the maximize call
The maximize call blocks the resize on MacOS.

Fixes #19
2023-09-20 13:34:16 +00:00
Stéphane Cerveau 06b0ec8ead graphbook: remove double call to set_tooltip_markup 2023-09-18 15:57:54 +02:00
Stéphane Cerveau f4be2299b9 graphbook: introduce element_factory_exists
This method helps to tell if a factory exists
when loading a graph.
If the factory does not exists, use light mode
to display it and prevent some menu item
and change its description.
2023-09-18 12:34:58 +02:00
Stéphane Cerveau 4a5964c340 app: manage graphtab as a tab of notebook
graph tab in the graphbook containing a player
and a graphview
2023-09-16 10:37:59 +02:00
Stéphane Cerveau bcc39acf5e app: add session structure
This structure represents a graphview and a player.
It will allow a future use of notebook
in the main window
2023-09-15 11:56:16 +02:00
Stéphane Cerveau 3fbaa3166d player: register external plugins only once
In case of multiple graph tab the player was registering
several time the gtk4paintablesink
2023-09-15 11:56:16 +02:00
Stéphane Cerveau 3689d4d57c graphview: change log level for link name 2023-09-15 11:56:16 +02:00
Stéphane Cerveau eda453df53 graphview: use gtk::style_context_add_provider_for_display
gtk::StyleContext::add_provider_for_display is now deprecated
since gtk update to 0.7.2
2023-08-31 17:23:58 +02:00
Stéphane Cerveau 375f083cbf cargo: update rust, gtk and gstreamer version 2023-08-31 17:23:58 +02:00
Stéphane Cerveau 16db9ab30a app: remove special use case with caps filter 2023-08-26 12:52:30 +02:00
Stéphane Cerveau ad6c53a531 app: support of caps filter by link name 2023-08-26 12:52:30 +02:00
Stéphane Cerveau aaf47503fe graphmanager: add link name
Allow to set and display a link name
2023-08-26 12:52:30 +02:00
Stéphane Cerveau 14a872fb89 meson: add gstreamer 1.0 as a subproject 2023-06-14 22:35:20 +02:00
Stéphane Cerveau d1ccea7ea8 logger: create the log in the home directory
Prevent an issue on windows where the application could
not start because the log was created in the app folder.
2023-03-05 19:29:38 +01:00
Stéphane Cerveau 378d867520 meson: rename cargo.sh to cargo.py
To be cross platform, use cargo.py to manage cargo
2023-03-05 19:29:38 +01:00
Stéphane Cerveau d0e284d0a2 gettext: remove crate use because unsupported on Windows.
Part of #12
2023-03-05 19:29:38 +01:00
Stéphane Cerveau 26b834c267 cargo: remove x11 dependency but use GST_XINITTHREADS 2023-03-05 19:29:38 +01:00
Stéphane Cerveau 9bcca3863a src: use python to copy config.rs file 2023-03-05 19:29:38 +01:00
Stéphane Cerveau 88ec98bcef player: generate a graph from a pipeline description 2023-02-14 10:18:06 +01:00
Stéphane Cerveau 01df04be60 move glib value_as_str to common module 2023-02-14 10:18:06 +01:00
Stéphane Cerveau c0220c4bdb element: change api to allow the use of direct gst::element
Fetch the property(s) of a given GstElement or check
the property from a feature name.
2023-02-14 10:18:06 +01:00
Stéphane Cerveau 46889d86d0 node: provide an API to fetch port by name
Retrieve the port from a node by its name.
2023-02-14 10:18:06 +01:00
Stéphane Cerveau 8c9cb35928 graphview: node by unique name
keep a unique name value in Node structure
and provide an API to modify it.
2023-02-14 10:18:06 +01:00
Stéphane Cerveau 16fee2a289 settings: remove get prefix
Remove "get_" whenever possible
2023-02-14 10:04:49 +01:00
Stéphane Cerveau 8872dab55b app: update and fix for gtk4-rs 0.6.1 2023-02-13 21:46:23 +01:00
Stéphane Cerveau 9e6ee57fee graphmanager: update and fix for gtk4-rs 0.6.1 2023-02-13 21:45:54 +01:00
Stéphane Cerveau ae85402eeb player: fix various clippy issues
Fix uninlined_format_args warning
2023-02-13 16:39:56 +01:00
Stéphane Cerveau e2a62ae4d4 graphmanager: Fix various clippy issues
fix uninlined_format_args clippy warning
2023-02-13 16:39:56 +01:00
Stéphane Cerveau a02c99fb61 app: fix various clippy issue
Fix uninlined_format_args since 1.66.0
2023-02-13 16:39:56 +01:00
Stéphane Cerveau 8603b21d98 app: set light mode for capsfilter node/element 2023-02-13 16:39:56 +01:00