Clean up after previous commit.
[dcpomatic.git] / src / lib / active_captions.cc
index 972095e37afbf66aa9c53528746dac769f52126b..d41270382c7cf08785c7c32f6b50d1296fa44c1d 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "active_captions.h"
 #include "piece.h"
-#include "text_content.h"
+#include "caption_content.h"
 #include <boost/shared_ptr.hpp>
 #include <boost/weak_ptr.hpp>
 
@@ -47,7 +47,7 @@ ActiveCaptions::get_burnt (DCPTimePeriod period, bool always_burn_subtitles) con
                        continue;
                }
 
-               if (!piece->content->subtitle->use() || (!always_burn_subtitles && !piece->content->subtitle->burn())) {
+               if (!piece->content->caption->use() || (!always_burn_subtitles && !piece->content->caption->burn())) {
                        /* Not burning this piece */
                        continue;
                }