gnome-shell/js
Jonas Dreßler cad01d154c screencastService: Set PipelineState to PLAYING on actual state-change
Right now when we tell gstreamer to move the pipeline to the state
PLAYING, we pretend that happens immediately and set our PipelineState
to PLAYING right afterwards.

In reality though it's more complicated than that: Gstreamer changes
states asynchronously and set_state() returns a Gst.StateChangeReturn.ASYNC.
In that case we should wait until the according STATE_CHANGED event happens
on the bus, and only then set our PipelineState to PLAYING.

Since the STATE_CHANGED event will also happen when set_state() returns
SUCCESS, we can use the same async logic for that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2197>
2023-04-25 18:57:51 +02:00
..
dbusServices screencastService: Set PipelineState to PLAYING on actual state-change 2023-04-25 18:57:51 +02:00
gdm authPrompt: Also replace full-width colon 2023-02-13 20:32:21 +00:00
misc misc/objectManager: Fix emission of object-removed signal 2023-04-05 18:43:51 +00:00
perf tests/closeWithActiveWindows: Also test input method tear down 2023-04-20 14:52:01 +02:00
portalHelper portalHelper: Use libadwaita instead of plain Gtk4 2023-04-25 10:45:19 +00:00
ui status/bluetooth: Use 'Alias' for item labels 2023-04-25 14:16:42 +00:00
js-resources.gresource.xml tests/perf: Add test for shutdown with open window 2023-04-20 14:49:38 +02:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00