- bool has_subtitles () const;
-
- struct Region
- {
- Region ()
- : time (0)
- {}
-
- Region (boost::shared_ptr<Content> c, Time t, Playlist* p);
- Region (boost::shared_ptr<const cxml::Node>, Playlist* p);
-
- void as_xml (xmlpp::Node *) const;
-
- boost::shared_ptr<Content> content;
- Time time;
- /* XXX: obviously not used for video-only; there should
- really by AudioRegion / VideoRegion etc.
- */
- AudioMapping audio_mapping;
- boost::signals2::connection connection;
- };
-
- typedef std::vector<boost::shared_ptr<Region> > RegionList;
-
- RegionList regions () const {
- return _regions;
- }
-
- std::string audio_digest () const;
- std::string video_digest () const;
-
- int loop () const {
- return _loop;
- }
-
- void set_loop (int l);
-
- Time length (boost::shared_ptr<const Film>) const;