diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 22:44:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 27b83475435dda4e84a90cf59a52f150905c4ab1 (patch) | |
| tree | 51d0158c7a879f6b2f3c40843c5e5e455069a1dc /src/lib/hints.cc | |
| parent | 9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff) | |
Clean up after previous commit.
Diffstat (limited to 'src/lib/hints.cc')
| -rw-r--r-- | src/lib/hints.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc index d29002ad5..eb3ea1d02 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -23,7 +23,7 @@ #include "film.h" #include "content.h" #include "video_content.h" -#include "text_content.h" +#include "caption_content.h" #include "audio_processor.h" #include "font.h" #include "ratio.h" @@ -56,8 +56,8 @@ get_hints (shared_ptr<const Film> film) bool big_font_files = false; if (film->interop ()) { BOOST_FOREACH (shared_ptr<Content> i, content) { - if (i->subtitle) { - BOOST_FOREACH (shared_ptr<Font> j, i->subtitle->fonts ()) { + if (i->caption) { + BOOST_FOREACH (shared_ptr<Font> j, i->caption->fonts ()) { for (int k = 0; k < FontFiles::VARIANTS; ++k) { optional<boost::filesystem::path> const p = j->file (static_cast<FontFiles::Variant> (k)); if (p && boost::filesystem::file_size (p.get()) >= (640 * 1024)) { |
