~phablet-team/media-hub/trunk

« back to all changes in this revision

Viewing changes to src/core/media/player_stub.cpp

  • Committer: CI bot
  • Author(s): Ricardo Mendoza
  • Date: 2014-11-05 20:41:03 UTC
  • mfrom: (86.2.2 trunk)
  • Revision ID: ps-jenkins@lists.canonical.com-20141105204103-4nf86obpejume2cz
Use new hybris interface to correctly register for client deaths. Fixes: 1380848
Approved by: Jim Hodapp

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                texture_id(0),
52
52
                igbc_wrapper(nullptr),
53
53
                glc_wrapper(nullptr),
54
 
                decoding_session(decoding_service_create_session()),
 
54
                decoding_session(nullptr),
55
55
                frame_available_cb(nullptr),
56
56
                frame_available_context(nullptr),
57
57
                object(object),
87
87
                    object->get_signal<mpris::Player::Signals::VideoDimensionChanged>()
88
88
                }
89
89
    {
 
90
        auto op = object->invoke_method_synchronously<mpris::Player::Key, media::Player::PlayerKey>();
 
91
        decoding_session = decoding_service_create_session(op.value());
90
92
    }
91
93
 
92
94
    ~Private()