6 #include <condition_variable>
13 Player(JPEGFrameView *destination);
15 void play_clip(const Clip &clip, unsigned stream_idx);
20 JPEGFrameView *destination;
23 Clip current_clip; // Under mu.
24 unsigned current_stream_idx; // Under mu.
26 enum { PAUSED, PLAYING } cue_state = PAUSED; // Under cue_state_mu.
27 std::mutex cue_state_mu;
28 std::condition_variable cue_is_playing;
31 #endif // !defined(_PLAYER_H)