diff options
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -319,6 +319,11 @@ DCP::DCP (string directory) ) )); } + + for (list<string>::iterator i = files.subtitles.begin(); i != files.subtitles.end(); ++i) { + string const l = i->substr (_directory.length ()); + _assets.push_back (shared_ptr<SubtitleAsset> (new SubtitleAsset (_directory, l))); + } } |
