+ BOOST_FOREACH (shared_ptr<TextDecoder> i, text) {
+ i->seek ();
+ }
+}
+
+shared_ptr<TextDecoder>
+Decoder::only_text () const
+{
+ DCPOMATIC_ASSERT (text.size() < 2);
+ if (text.empty ()) {
+ return shared_ptr<TextDecoder> ();
+ }
+ return text.front ();