Commit graph

44 commits

Author SHA1 Message Date
Stéphane Cerveau 3985458832 properties: can now support ParamSpecFloat 2024-01-23 10:29:57 +01:00
Stéphane Cerveau 51769d6061 logger: support variable length for logger split 2024-01-04 15:20:14 +00:00
Stéphane Cerveau 18458e3465 properties: fix expect for ParamSpecFlags 2024-01-03 13:25:49 +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 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 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 d0e284d0a2 gettext: remove crate use because unsupported on Windows.
Part of #12
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 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 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 726a6f4d41 cargo: update gst/gtk/gst-plugin-gtk4 2022-11-29 08:42:12 +00: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 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 f925c21b1d GPS: cleanup the license
Keep only the SPDX and mention the project
2022-02-09 11:28:59 +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 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 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 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 3a4a4e2bea ui: move gps.ui to dedicated folder 2022-01-31 19:31:45 +01:00
Stéphane Cerveau 18606b687c favorites: display properties as well
As in element list, display properties when selected
2022-01-28 16:16:29 +01:00
Stéphane Cerveau ee66f53171 pipeline: Able to render a graph and check for error
If the pipeline can not be created, display an error dialog
when checking it.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 5c25417569 pipeline: set state to stop when error
Do not display a dialog when an error happens,
only a log error is sufficient.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 39815eb8d9 properties: support more properties
Support enum and flags properties in
addition to numerous and string ones.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 24e5e947d5 properties: fix regression with gst 0.18
Fix alignement
2022-01-20 16:17:06 +01:00
Stéphane Cerveau 45d5f19c10 gps: use it as a whole module
Namespace the use of gps
2022-01-20 15:32:30 +01:00
Stéphane Cerveau a2503ce86b ui: introduce a new module
- Cleanup up app.rs and use the new module ui
- Remove display_plugin_list
- Can now render a graph and get the
parse launch line.
2022-01-20 15:32:30 +01:00