diff options
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | src/lib/player.cc | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2015-01-30 Carl Hetherington <cth@carlh.net> + * Fix update of preview when video fade changes. + * Hopefully fix black borders round the preview in some cases. 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> ( |
