Use cxml::ConstNodePtr.
[dcpomatic.git] / src / lib / ffmpeg_content.h
index 37746ac9db213ed73ec9a63931347c3ed2475360..c546d69eb70e9a74107b2c8b3f860a17a3d14b30 100644 (file)
@@ -41,7 +41,7 @@ public:
                , _id (i)
        {}
                                
-       FFmpegStream (boost::shared_ptr<const cxml::Node>);
+       FFmpegStream (cxml::ConstNodePtr);
 
        void as_xml (xmlpp::Node *) const;
 
@@ -81,7 +81,7 @@ public:
                mapping.make_default ();
        }
 
-       FFmpegAudioStream (boost::shared_ptr<const cxml::Node>, int);
+       FFmpegAudioStream (cxml::ConstNodePtr, int);
 
        void as_xml (xmlpp::Node *) const;
 
@@ -109,7 +109,7 @@ public:
                : FFmpegStream (n, i)
        {}
        
-       FFmpegSubtitleStream (boost::shared_ptr<const cxml::Node>);
+       FFmpegSubtitleStream (cxml::ConstNodePtr);
 
        void as_xml (xmlpp::Node *) const;
 };
@@ -128,7 +128,7 @@ class FFmpegContent : public VideoContent, public AudioContent, public SubtitleC
 {
 public:
        FFmpegContent (boost::shared_ptr<const Film>, boost::filesystem::path);
-       FFmpegContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>, int version, std::list<std::string> &);
+       FFmpegContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version, std::list<std::string> &);
        FFmpegContent (boost::shared_ptr<const Film>, std::vector<boost::shared_ptr<Content> >);
 
        boost::shared_ptr<FFmpegContent> shared_from_this () {