diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-02-21 23:50:30 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 130577d2e4e67de15ac8f5d6447729736d4bcac6 (patch) | |
| tree | baa5d6cee0ad1ccab254cae5149807e90d64aca2 /src/lib/player.cc | |
| parent | 45d5a5004a49edabbc96cd1acba12e08d31510f1 (diff) | |
Remove unnecessary VideoFrame class.
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 87d8b9d97..14625b85a 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -566,7 +566,7 @@ Player::video (weak_ptr<Piece> wp, ContentVideo video) } /* Time and period of the frame we will emit */ - DCPTime const time = content_video_to_dcp (piece, video.frame.index()); + DCPTime const time = content_video_to_dcp (piece, video.frame); DCPTimePeriod const period (time, time + DCPTime::from_frames (1, _film->video_frame_rate())); /* Discard if it's outside the content's period */ @@ -619,12 +619,12 @@ Player::video (weak_ptr<Piece> wp, ContentVideo video) new PlayerVideo ( video.image, piece->content->video->crop (), - piece->content->video->fade (video.frame.index()), + piece->content->video->fade (video.frame), piece->content->video->scale().size ( piece->content->video, _video_container_size, _film->frame_size () ), _video_container_size, - video.frame.eyes(), + video.eyes, video.part, piece->content->video->colour_conversion () ) |
