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 | |
| parent | 708bffa3f3ccace7bec99da2133e250740150ca9 (diff) | |
Remove some unused bits.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 18 | ||||
| -rw-r--r-- | src/lib/player.h | 1 |
2 files changed, 0 insertions, 19 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) diff --git a/src/lib/player.h b/src/lib/player.h index c04b3367c..95db8756b 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -93,7 +93,6 @@ private: void playlist_changed (); void playlist_content_changed (boost::weak_ptr<Content>, int, bool); std::list<PositionImage> transform_image_subtitles (std::list<ImageSubtitle>) const; - void update_subtitle_from_text (); Frame dcp_to_content_video (boost::shared_ptr<const Piece> piece, DCPTime t) const; DCPTime content_video_to_dcp (boost::shared_ptr<const Piece> piece, Frame f) const; Frame dcp_to_resampled_audio (boost::shared_ptr<const Piece> piece, DCPTime t) const; |
