Commit graph

133 commits

Author SHA1 Message Date
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
Stéphane Cerveau
078940fd48 element: element_is_capsfilter 2023-02-13 16:39:56 +01:00
Stéphane Cerveau
cc42cdeaeb graphmanager: add a light mode
Add a light mode to display node with a
dashed style
2023-02-13 16:39:47 +01:00
Stéphane Cerveau
3f75581d60 app: display node properties on double-clicked 2023-02-09 14:05:42 +01:00
Stéphane Cerveau
a5767b21fe graphmanager: Add node-double-clicked signal 2023-02-09 14:05:17 +01:00
Stéphane Cerveau
726a6f4d41 cargo: update gst/gtk/gst-plugin-gtk4 2022-11-29 08:42:12 +00:00
Stéphane Cerveau
6b657891c6 graphmanager: fix some lint issues with rust 1.63
Fix format and missing derive
2022-09-06 12:48:40 +02:00
Stéphane Cerveau
ebbc1d2261 app: update to rust 1.63 and fix some lint issues
Fix format! and missing derive
2022-09-06 12:48:40 +02:00
Stéphane Cerveau
1fe43d7da3 player: fix clippy error 2022-03-07 11:29:19 +01:00
Patrick José Pereira
0ee941efbe src: Use new wrappable argument 2022-02-21 08:49:31 +00:00
Patrick José Pereira
ed697a63e9 ui: treeview: Add wrappable feature 2022-02-21 08:49:31 +00:00
Stéphane Cerveau
39554d8d99 logger: add a popup menu to clear the logs
Add a way to clear the logs.
2022-02-21 08:34:34 +00:00
Stéphane Cerveau
aaaa58072c logger: display the most recent log on top
The most recent log arrives on top of the list and
is always visible.
2022-02-21 08:34:34 +00:00
Stéphane Cerveau
7762332700 preferences: add log level
Can now set the log level in the application
2022-02-21 08:34:34 +00:00
Stéphane Cerveau
28a9cfbd50 graphmanager: update link license
Add a license in GraphManager folder
2022-02-16 17:10:34 +01:00
Stéphane Cerveau
088aff1576 properties: cleanup Label creation 2022-02-10 14:38:13 +00:00
Stéphane Cerveau
57160b3bce about: display GStreamer version 2022-02-10 14:38:13 +00:00
Stéphane Cerveau
6cc908c109 graphview: add a format version to graphview 2022-02-10 14:38:13 +00:00
Stéphane Cerveau
f925c21b1d GPS: cleanup the license
Keep only the SPDX and mention the project
2022-02-09 11:28:59 +01:00
Stéphane Cerveau
0164d71bf2 graphmanager: cleanup the license
Keep only the SPDX and mention the project
2022-02-09 11:28:27 +01:00
Stéphane Cerveau
006ed2bae0 properties: preferences: unify behavior
Use a common create_dialog method in dialog.rs
Add an empty field in combo box to be able to remove
a property
Remove the close button.
2022-02-08 14:57:00 +01:00
Stéphane Cerveau
72dcde0ad3 graphmanager: update description on property remove
The node must update its description when
a property value has been removed.
2022-02-08 14:53:12 +01:00
Stéphane Cerveau
1eb49731e1 properties: fix the propery value with combo
The property is now the numerical value of the
enum or flags in an element's property
2022-02-08 14:34:23 +01:00
Stéphane Cerveau
935e6c7fb5 burger menu: right aligned 2022-02-08 14:17:31 +01:00
Stéphane Cerveau
78b2bd4a6f app: remove quit mentu entry
The quit menu entry is dispensable as
the application can be quit with cross
2022-02-08 14:13:18 +01:00
Stéphane Cerveau
402ac1f40f properties: display the number of elements found 2022-02-07 12:19:15 +01:00
Stéphane Cerveau
e3ac490a81 properties: add a way to display pipeline properties
Pipeline properties displays all elements in
the pipeline.
2022-02-07 12:19:15 +01:00
Stéphane Cerveau
4cb965fe7f player: handle EOS message 2022-02-07 12:19:15 +01:00
Stéphane Cerveau
f118ef7db0 player: detect gtk4paintablesink with deep-element-added
Connect to the deep-element-added signal from the pipeline
to detect the gtk4paintablesink presence.
2022-02-07 12:19:15 +01:00
Stéphane Cerveau
25d856a360 pipeline: rename to player
To avoid confusion with GStreamer pipeline and
GPS pipeline, renamed it player.
2022-02-07 12:19:15 +01:00
Stéphane Cerveau
59ecbb41a5 pipeline: can now support pad properties
Can set pad property which will be used during the
pipeline generation.

Change port name to src_* or sink_*

Caps become an hidden property

Remove the ':' to separate value field, it does not
work properly with URI

Add funny graphs
2022-02-07 12:19:15 +01:00
Stéphane Cerveau
7db3b333ac graphmanager: add API to change port name. 2022-02-07 12:19:15 +01:00
Stéphane Cerveau
a21350b4a0 graphmanager: can remove property
Add public remove_property to PropertyExt
2022-02-07 12:19:10 +01:00
Stéphane Cerveau
8059f73f51 elements: sort the favorites by alphabetical order 2022-02-03 12:56:54 +01:00
Stéphane Cerveau
b12ea9ebdd properties: follow the same layout as in preferences
Rework the UI to follow the same layout as in preferences
dialog
2022-02-01 16:14:52 +01:00
Stéphane Cerveau
c101ea6a37 preferences: add a preference dialog
Add a dialog to set user preference such
as gtk4paintablesink usage.
2022-02-01 16:14:52 +01:00
Stéphane Cerveau
247cf2c844 settings: use HashMap to save paned positions
Save the hashmap in the settings.toml file
2022-02-01 13:23:15 +01:00
Stéphane Cerveau
4cdf2fd70b app: support multiple preview in a Notebook
The preview is now a NoteBook and if multiple video
gtk4sink are available, a page is created for each of it.
2022-02-01 13:23:15 +01:00
Stéphane Cerveau
09f56de320 app: change the app title 2022-02-01 11:44:35 +01:00
Stéphane Cerveau
1c10424e9e pad: change the pad name log cat 2022-02-01 11:44:01 +01:00