diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-26 23:18:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 3d90ce7a500a33b6147c30b65766efcbc447f5ab (patch) | |
| tree | cf2f3ac5e3e2730e884b2410ae15f5c2804319cb /src/lib/player.cc | |
| parent | 708bffa3f3ccace7bec99da2133e250740150ca9 (diff) | |
Remove some unused bits.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 94c2ea37a..31c3c26e4 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -76,24 +76,6 @@ using boost::dynamic_pointer_cast; using boost::optional; using boost::scoped_ptr; -static bool -has_video (Content* c) -{ - return static_cast<bool>(c->video); -} - -static bool -has_audio (Content* c) -{ - return static_cast<bool>(c->audio); -} - -static bool -has_subtitle (Content* c) -{ - return static_cast<bool>(c->subtitle); -} - Player::Player (shared_ptr<const Film> film, shared_ptr<const Playlist> playlist) : _film (film) , _playlist (playlist) |
