~ci-train-bot/media-hub/media-hub-ubuntu-yakkety-landing-056

Viewing all changes in revision 198.

  • Committer: Bileto Bot
  • Author(s): Jim Hodapp
  • Date: 2016-07-05 14:57:47 UTC
  • mfrom: (195.2.6 media-hub)
  • Revision ID: ci-train-bot@canonical.com-20160705145747-v42ellpol6bnp6fp
To avoid deadlocking, make sure that we don't ever change the pipeline's state on the streaming thread. It will always be set from the main thread context thanks to g_idle_add(). The deadlock that this fixes was when calling stop() in player_implementation.cpp in the on_end_of_tracklist() handler. (LP: #1596329)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: