return true;
}
+ bool has_mapped_audio() const;
+
/* ChangeType::PENDING and ChangeType::CANCELLED may be emitted from any thread; ChangeType::DONE always from GUI thread */
boost::signals2::signal<void (ChangeType, std::weak_ptr<Content>, int, bool)> Change;
std::shared_ptr<VideoContent> video;
std::shared_ptr<AudioContent> audio;
- std::list<std::shared_ptr<TextContent>> text;
+ std::vector<std::shared_ptr<TextContent>> text;
std::shared_ptr<AtmosContent> atmos;
std::shared_ptr<TextContent> only_text () const;
friend struct best_dcp_frame_rate_test_double;
friend struct audio_sampling_rate_test;
friend struct subtitle_font_id_change_test2;
- template<class, class> friend class ChangeSignaller;
+ template<class, class> friend class ChangeSignalDespatcher;
void signal_change (ChangeType, int);
typedef ChangeSignaller<Content, int> ContentChangeSignaller;
+typedef ChangeSignalDespatcher<Content, int> ContentChangeSignalDespatcher;
#endif