Fix update of preview when video fade changes.
authorCarl Hetherington <cth@carlh.net>
Fri, 30 Jan 2015 20:30:11 +0000 (20:30 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 30 Jan 2015 20:30:11 +0000 (20:30 +0000)
ChangeLog
src/lib/player.cc

index bcf3ea2d8d587f5abc2490f8ea5dc99264e42b62..b0aef0b297e258478fe71000e0489de80286d8ad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 9c7c6471d124342828b1fbe71466f0df7372d831..5c29efc4674ede50a6a9f759a52cb30b0ad76672 100644 (file)
@@ -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> (