A few more fixes; set up Playlist as required.
[dcpomatic.git] / src / lib / sndfile_content.cc
index 4794e4d3193e7f267e76b8f98917f3ed7d00dbb3..657e7d519c3b5ac5779b580e6ff40728d5248628 100644 (file)
@@ -64,3 +64,9 @@ SndfileContent::valid_file (boost::filesystem::path f)
        transform (ext.begin(), ext.end(), ext.begin(), ::tolower);
        return (ext == ".wav" || ext == ".aif" || ext == ".aiff");
 }
+
+shared_ptr<Content>
+SndfileContent::clone () const
+{
+       return shared_ptr<Content> (new SndfileContent (*this));
+}