Merge master; MXF subtitle stuff not included.
[libdcp.git] / src / subtitle_content.cc
index e32118c45d232acdc29e92566a8bd7622ec26d44..f338517e407e35a4136eb1864d7db84b7f5bbd30 100644 (file)
@@ -34,6 +34,7 @@ using std::list;
 using std::ostream;
 using std::ofstream;
 using std::stringstream;
+using std::cout;
 using boost::shared_ptr;
 using boost::lexical_cast;
 using boost::optional;
@@ -59,7 +60,7 @@ SubtitleContent::SubtitleContent (boost::filesystem::path file)
        /* Now make Subtitle objects to represent the raw XML nodes
           in a sane way.
        */
-
+       
        ParseState parse_state;
        examine_font_nodes (xml, font_nodes, parse_state);
 }
@@ -230,7 +231,7 @@ SubtitleContent::xml_as_string () const
        if (!_load_font_nodes.empty ()) {
                xmlpp::Element* load_font = root->add_child("LoadFont");
                load_font->set_attribute("Id", _load_font_nodes.front()->id);
-               load_font->set_attribute("URI",  _load_font_nodes.front()->uri);
+               load_font->set_attribute("URI", _load_font_nodes.front()->uri);
        }
 
        list<shared_ptr<SubtitleString> > sorted = _subtitles;