Only burn subtitles if it is turned on.
[dcpomatic.git] / src / lib / player_video.h
index 7d27877837bc835ef0bba256ed7cd24bde4d6e0f..e06e5f45e183f1cad603a7b14f4fc38e03c4cae7 100644 (file)
@@ -41,10 +41,10 @@ public:
 
        void set_subtitle (PositionImage);
        
-       boost::shared_ptr<Image> image () const;
+       boost::shared_ptr<Image> image (bool burn_subtitle) const;
 
-       void add_metadata (xmlpp::Node* node) const;
-       void send_binary (boost::shared_ptr<Socket> socket) const;
+       void add_metadata (xmlpp::Node* node, bool send_subtitles) const;
+       void send_binary (boost::shared_ptr<Socket> socket, bool send_subtitles) const;
 
        DCPTime time () const {
                return _time;