lp:~thomas-voss/media-hub/do-not-export-to-mpris-by-default
- Get this branch:
- bzr branch lp:~thomas-voss/media-hub/do-not-export-to-mpris-by-default
Branch merges
- PS Jenkins bot: Approve (continuous-integration)
- Alberto Aguirre (community): Approve
-
Diff: 78 lines (+18/-1)4 files modifiedCMakeLists.txt (+2/-0)
src/core/media/CMakeLists.txt (+1/-0)
src/core/media/service_skeleton.cpp (+14/-1)
tests/unit-tests/CMakeLists.txt (+1/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 73. By Thomas Voß
-
Only expose the service as MPRIS instance if explicitly requested via env variable.
- 71. By Alberto Aguirre
-
Fix potential access to dead objects. Fixes: 1364483, 1376352
Approved by: Thomas Voß - 69. By Alberto Aguirre
-
Fix self deadlock when clients disconnect from media::Player
When receiving a media::
PlayerImplement ation on_client_ disconnected signal, avoid calling
remove_player_ for_key within the same context as the player object may be deleted (which owns
the signal object whose destructor waits until all slots are dispatched). Fixes: 1371454
Approved by: Jim Hodapp, Thomas Voß - 68. By Alberto Aguirre
-
Prevent dead object access by asynchronous calls to clear_wakelock in media::
PlayerImplement ation:: Private On an player engine state change - detached threads are launched to clear system/display wakelocks in the future.
Before those threads get a chance to execute, media::PlayerImplement ation can be destroyed. By holding a weak_ptr to
media::PlayerImplemen tation: :Private in the launched threads, access to dead Private objects is prevented. Fixes: 1373722
Approved by: Jim Hodapp, PS Jenkins bot - 66. By Alberto Aguirre
-
Fix wake lock state machine and subtle race conditions on wake lock refcounts. Fixes: 1368786
Approved by: Jim Hodapp, PS Jenkins bot
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:media-hub