~ci-train-bot/media-hub/media-hub-ubuntu-zesty-1823

« back to all changes in this revision

Viewing changes to src/core/media/engine.h

  • Committer: Bileto Bot
  • Date: 2016-08-15 21:07:12 UTC
  • mfrom: (203.1.7 media-hub-desktop)
  • Revision ID: ci-train-bot@canonical.com-20160815210712-taplugkglgfm5s9t
Make media-hub work on the desktop with Unity7/Unity8 sessions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
    // support this feature.
83
83
    virtual void create_video_sink(uint32_t texture_id) = 0;
84
84
 
85
 
    virtual bool play() = 0;
 
85
    virtual bool play(bool use_main_context = false) = 0;
86
86
    virtual bool stop(bool use_main_context = false)  = 0;
87
87
    virtual bool pause() = 0;
88
88
    virtual bool seek_to(const std::chrono::microseconds& ts) = 0;