gnome-shell/js/dbusServices
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
..
extensions js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
notifications js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
screencast screencastService: Set PipelineState to PLAYING on actual state-change 2023-04-25 18:57:51 +02:00
screensaver js: Use async D-Bus wrappers 2022-08-01 18:51:14 +00:00
dbus-service.in dbusServices: Add some base classes for small stand-alone services 2020-03-12 16:09:27 +00:00
dbus-service.service.in dbusServices: Add some base classes for small stand-alone services 2020-03-12 16:09:27 +00:00
dbusService.js dbusServices: Allow to persist services via environment 2022-02-10 13:14:45 +00:00
meson.build dbusServices/screencast: Install unconditionally 2022-05-20 12:00:22 +00:00
org.gnome.ScreenSaver.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
org.gnome.Shell.Extensions.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
org.gnome.Shell.Notifications.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00
org.gnome.Shell.Screencast.src.gresource.xml dbusServices: Refactor service utilities from fileUtils into dbusUtils 2022-07-05 03:41:41 -04:00