diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-20 23:01:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-20 23:01:12 +0100 |
| commit | dc1c279211773ad68cb0348eb802cf5c9594d8dd (patch) | |
| tree | d49cd367d1832ce04bbc041b866835b2463d29d7 /src/lib/playlist.cc | |
| parent | 4d54b053b6e9565e026554b1dba31d73a1b492ae (diff) | |
Various subtitle UI tweaks.
Diffstat (limited to 'src/lib/playlist.cc')
| -rw-r--r-- | src/lib/playlist.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index e555db9ba..1c268ca11 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -186,24 +186,6 @@ Playlist::remove (ContentList c) Changed (); } -bool -Playlist::has_subtitles () const -{ - for (ContentList::const_iterator i = _content.begin(); i != _content.end(); ++i) { - shared_ptr<const FFmpegContent> fc = dynamic_pointer_cast<FFmpegContent> (*i); - if (fc && !fc->subtitle_streams().empty()) { - return true; - } - - shared_ptr<SubtitleContent> sc = dynamic_pointer_cast<SubtitleContent> (*i); - if (sc) { - return true; - } - } - - return false; -} - class FrameRateCandidate { public: |
