summaryrefslogtreecommitdiff
path: root/src/lib/playlist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/playlist.cc')
-rw-r--r--src/lib/playlist.cc40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc
index 0c29650b6..3da7f938b 100644
--- a/src/lib/playlist.cc
+++ b/src/lib/playlist.cc
@@ -207,46 +207,6 @@ Playlist::has_audio () const
return _audio_from != AUDIO_NONE;
}
-vector<FFmpegSubtitleStream>
-Playlist::ffmpeg_subtitle_streams () const
-{
- if (_video_from != VIDEO_FFMPEG || !_ffmpeg) {
- return vector<FFmpegSubtitleStream> ();
- }
-
- return _ffmpeg->subtitle_streams ();
-}
-
-boost::optional<FFmpegSubtitleStream>
-Playlist::ffmpeg_subtitle_stream () const
-{
- if (_video_from != VIDEO_FFMPEG || !_ffmpeg) {
- return boost::none;
- }
-
- return _ffmpeg->subtitle_stream ();
-}
-
-vector<FFmpegAudioStream>
-Playlist::ffmpeg_audio_streams () const
-{
- if (_video_from != VIDEO_FFMPEG || !_ffmpeg) {
- return vector<FFmpegAudioStream> ();
- }
-
- return _ffmpeg->audio_streams ();
-}
-
-boost::optional<FFmpegAudioStream>
-Playlist::ffmpeg_audio_stream () const
-{
- if (_video_from != VIDEO_FFMPEG || !_ffmpeg) {
- return boost::none;
- }
-
- return _ffmpeg->audio_stream ();
-}
-
Player::Player (boost::shared_ptr<const Film> f, boost::shared_ptr<const Playlist> p)
: _film (f)
, _playlist (p)