зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1615270 - [Media-Control Linux] MPRIS: Correctly emit the PropertyChange Event on the Player Interface (https://specifications.freedesktop.org/mpris-spec/latest/Player_Interface.html), r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63811 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9de9318c48
Коммит
66937693fb
|
@ -586,7 +586,8 @@ void MPRISServiceHandler::SetPlaybackState(dom::PlaybackState aState) {
|
|||
g_dbus_connection_emit_signal(
|
||||
mConnection, nullptr, DBUS_MPRIS_OBJECT_PATH,
|
||||
"org.freedesktop.DBus.Properties", "PropertiesChanged",
|
||||
g_variant_new("(sa{sv}as)", "org.mpris.MediaPlayer2", &builder, nullptr),
|
||||
g_variant_new("(sa{sv}as)", "org.mpris.MediaPlayer2.Player", &builder,
|
||||
nullptr),
|
||||
nullptr);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче