Fix a crash due the assertion in emit_audio failing when applying
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index ef4dad3f5dcb7db8c2d304fba7346ab4f5e58d9b..e5533927b4b77f9e485ff56efcd498f8f0dc8976 100644 (file)
@@ -18,7 +18,7 @@
 
 */
 
-#include "caption_decoder.h"
+#include "text_decoder.h"
 #include "dcp_subtitle.h"
 
 class DCPSubtitleContent;
@@ -26,7 +26,7 @@ class DCPSubtitleContent;
 class DCPSubtitleDecoder : public DCPSubtitle, public Decoder
 {
 public:
-       DCPSubtitleDecoder (boost::shared_ptr<const DCPSubtitleContent>, boost::shared_ptr<Log> log);
+       DCPSubtitleDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const DCPSubtitleContent>);
 
        bool pass ();
        void seek (ContentTime time, bool accurate);