Remove unnecessary Film variable in ContentPart.
[dcpomatic.git] / src / lib / dcp_subtitle_content.cc
index a806c9cbd764125bf56ba72f7ecf34f0fd7dc3e4..bd5d5d70e26ace96ced1ce9bca5355b743f14bfb 100644 (file)
@@ -38,14 +38,14 @@ using boost::dynamic_pointer_cast;
 DCPSubtitleContent::DCPSubtitleContent (shared_ptr<const Film> film, boost::filesystem::path path)
        : Content (film, path)
 {
-       subtitle.reset (new SubtitleContent (this, film));
+       subtitle.reset (new SubtitleContent (this));
 }
 
 DCPSubtitleContent::DCPSubtitleContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version)
        : Content (film, node)
        , _length (node->number_child<ContentTime::Type> ("Length"))
 {
-       subtitle = SubtitleContent::from_xml (this, film, node, version);
+       subtitle = SubtitleContent::from_xml (this, node, version);
 }
 
 void