diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-30 20:30:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-30 20:30:11 +0000 |
| commit | 93c77af137962d9a03703ed214adf576ed9228a6 (patch) | |
| tree | c8f87680dc5cdb8ad14e78e4462e01bc1453ffe0 /src/lib | |
| parent | 3f3727634b98ce2761a193b9d1e3fc14f51dcbd2 (diff) | |
Fix update of preview when video fade changes.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 9c7c6471d..5c29efc46 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -214,7 +214,9 @@ Player::content_changed (weak_ptr<Content> w, int property, bool frequent) property == SubtitleContentProperty::SUBTITLE_Y_SCALE || property == VideoContentProperty::VIDEO_CROP || property == VideoContentProperty::VIDEO_SCALE || - property == VideoContentProperty::VIDEO_FRAME_RATE + property == VideoContentProperty::VIDEO_FRAME_RATE || + property == VideoContentProperty::VIDEO_FADE_IN || + property == VideoContentProperty::VIDEO_FADE_OUT ) { Changed (frequent); @@ -358,7 +360,7 @@ Player::get_video (DCPTime time, bool accurate) image_size.width &= ~3; image_size.height &= ~3; } - + for (list<ContentVideo>::const_iterator i = content_video.begin(); i != content_video.end(); ++i) { pvf.push_back ( shared_ptr<PlayerVideo> ( |
