diff options
Diffstat (limited to 'src/lib/playlist.cc')
| -rw-r--r-- | src/lib/playlist.cc | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 6913874b9..f1dd881b3 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -430,51 +430,3 @@ Playlist::has_subtitles () const return !fc->subtitle_streams().empty(); } - -string -Playlist::description () const -{ - stringstream s; - - if (_video.empty ()) { - s << _("There is no video.") << "\n"; - } else { - s << _("Video will come from "); - list<shared_ptr<const VideoContent> >::const_iterator i = _video.begin(); - while (i != _video.end ()) { - s << (*i)->file().filename().string(); - ++i; - if (i != _video.end ()) { - s << ", "; - } - } - if (_video.size() > 1) { - s << " " << _("in sequence."); - } - s << "\n"; - } - - if (_audio.empty ()) { - s << _("There is no audio.") << "\n"; - } else { - if (_audio_from == AUDIO_FFMPEG) { - s << _("Audio will come from the video files.") << "\n"; - } else { - s << _("Audio will come from "); - list<shared_ptr<const AudioContent> >::const_iterator i = _audio.begin(); - while (i != _audio.end ()) { - s << (*i)->file().filename().string(); - ++i; - if (i != _audio.end ()) { - s << ", "; - } - } - if (_audio.size() > 1) { - s << _(" run simultaneously."); - } - s << "\n"; - } - } - - return s.str (); -} |
