Remove duplicate save of SequenceVideo setting.
authorCarl Hetherington <cth@carlh.net>
Mon, 22 Jul 2013 13:35:47 +0000 (14:35 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 22 Jul 2013 13:35:47 +0000 (14:35 +0100)
src/lib/playlist.cc

index 5ccc12b61ebc43c5f00f5ae1f44fe3e851e81f93..e9ea3e3c7143179afbb82e3ee4dfb331a75b7dcf 100644 (file)
@@ -122,7 +122,6 @@ Playlist::set_from_xml (shared_ptr<const Film> film, shared_ptr<const cxml::Node
        }
 
        reconnect ();
-       _sequence_video = node->bool_child ("SequenceVideo");
 }
 
 /** @param node <Playlist> node */
@@ -132,8 +131,6 @@ Playlist::as_xml (xmlpp::Node* node)
        for (ContentList::iterator i = _content.begin(); i != _content.end(); ++i) {
                (*i)->as_xml (node->add_child ("Content"));
        }
-
-       node->add_child("SequenceVideo")->add_child_text(_sequence_video ? "1" : "0");
 }
 
 void