From: Carl Hetherington Date: Fri, 30 Jan 2015 20:30:11 +0000 (+0000) Subject: Fix update of preview when video fade changes. X-Git-Tag: v2.0.48~244 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=93c77af137962d9a03703ed214adf576ed9228a6;p=dcpomatic.git Fix update of preview when video fade changes. --- diff --git a/ChangeLog b/ChangeLog index bcf3ea2d8..b0aef0b29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-01-30 Carl Hetherington + * 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 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::const_iterator i = content_video.begin(); i != content_video.end(); ++i) { pvf.push_back ( shared_ptr (