diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-10 01:08:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-10 01:16:06 +0100 |
| commit | 02b74112721d13a27b0bbaece714d5c8ea743d43 (patch) | |
| tree | 3a27196ba8c53b603e0d3369593858e471a071f8 /src/lib/player.cc | |
| parent | 11afb1f4bb9c8dd2e366ed216dd324d197d18b9a (diff) | |
Move some methods out of util.{cc,h}
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 40f726d10..c7dd83d6d 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -932,6 +932,18 @@ Player::open_subtitles_for_frame (DCPTime time) const } +static +Eyes +increment_eyes (Eyes e) +{ + if (e == Eyes::LEFT) { + return Eyes::RIGHT; + } + + return Eyes::LEFT; +} + + void Player::video (weak_ptr<Piece> weak_piece, ContentVideo video) { |
