Don't flush audio if Player is not supposed to be playing it.
[dcpomatic.git] / src / lib / subtitle_decoder.h
index 0c299f61f24a62a47190a61637a6d81e28e601a5..eeeadbd3f65fdda2f9ee46b90c9745f2ce713f8f 100644 (file)
 
 #include <boost/signals2.hpp>
 #include "decoder.h"
+#include "rect.h"
+#include "types.h"
 
 class Film;
 class TimedSubtitle;
+class Image;
 
 class SubtitleDecoder : public virtual Decoder
 {
 public:
        SubtitleDecoder (boost::shared_ptr<const Film>);
 
-       boost::signals2::signal<void (boost::shared_ptr<TimedSubtitle>)> Subtitle;
+       boost::signals2::signal<void (boost::shared_ptr<Image>, dcpomatic::Rect<double>, Time, Time)> Subtitle;
 
 protected:
-       void subtitle (boost::shared_ptr<TimedSubtitle>);
+       void subtitle (boost::shared_ptr<Image>, dcpomatic::Rect<double>, Time, Time);
 };