From 27b83475435dda4e84a90cf59a52f150905c4ab1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 19 Jul 2018 22:44:53 +0100 Subject: Clean up after previous commit. --- src/lib/hints.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/hints.cc') 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 film) bool big_font_files = false; if (film->interop ()) { BOOST_FOREACH (shared_ptr i, content) { - if (i->subtitle) { - BOOST_FOREACH (shared_ptr j, i->subtitle->fonts ()) { + if (i->caption) { + BOOST_FOREACH (shared_ptr j, i->caption->fonts ()) { for (int k = 0; k < FontFiles::VARIANTS; ++k) { optional const p = j->file (static_cast (k)); if (p && boost::filesystem::file_size (p.get()) >= (640 * 1024)) { -- cgit v1.2.3