diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-17 16:21:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-17 16:21:01 +0100 |
| commit | b16fa5f0de631821a7acc994645a291bc7aa90c9 (patch) | |
| tree | e57b94391c640617faef6c4a727571cce7e73fa0 /src/lib/film.cc | |
| parent | da66833e0a9f2197680baa6759db11eaf868f39d (diff) | |
Final tweaks and removal of Film::playlist().
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 769ef72b6..f41371892 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -916,12 +916,6 @@ Film::set_key (dcp::Key key) signal_changed (KEY); } -shared_ptr<Playlist> -Film::playlist () const -{ - return _playlist; -} - ContentList Film::content () const { @@ -1226,3 +1220,15 @@ Film::audio_output_names () const return vector<string> (n.begin(), n.begin() + audio_channels ()); } + +void +Film::repeat_content (ContentList c, int n) +{ + _playlist->repeat (c, n); +} + +void +Film::remove_content (ContentList c) +{ + _playlist->remove (c); +} |
