VIDEO_FRAME_TYPE needs to invalidate the player's pieces.
authorCarl Hetherington <cth@carlh.net>
Wed, 18 Dec 2013 15:54:50 +0000 (15:54 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 Dec 2013 15:54:50 +0000 (15:54 +0000)
ChangeLog
src/lib/player.cc

index d0bf184bf24d5bcf8b4a3b53e70b77d3d3c6d9b1..95b641cb0e00765f4123c3519bc99a5130f7f087 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2013-12-18  Carl Hetherington  <cth@carlh.net>
 
+       * Fix non-update of display when changing video frame type (2D,
+       3D left/right etc.)
+
        * Restore video information in video tab when using still images.
 
        * Hopefully fix exception on new film in some strange cases.
index 7f500b3d6f358a1e786b4ee61f5ddf281a7e9e71..09a4374943a7dabaf189f2e179d13a904aec848a 100644 (file)
@@ -504,7 +504,8 @@ Player::content_changed (weak_ptr<Content> w, int property, bool frequent)
 
        if (
                property == ContentProperty::POSITION || property == ContentProperty::LENGTH ||
-               property == ContentProperty::TRIM_START || property == ContentProperty::TRIM_END
+               property == ContentProperty::TRIM_START || property == ContentProperty::TRIM_END ||
+               property == VideoContentProperty::VIDEO_FRAME_TYPE 
                ) {
                
                _have_valid_pieces = false;
@@ -515,10 +516,7 @@ Player::content_changed (weak_ptr<Content> w, int property, bool frequent)
                update_subtitle ();
                Changed (frequent);
 
-       } else if (
-               property == VideoContentProperty::VIDEO_FRAME_TYPE || property == VideoContentProperty::VIDEO_CROP ||
-               property == VideoContentProperty::VIDEO_RATIO
-               ) {
+       } else if (property == VideoContentProperty::VIDEO_CROP || property == VideoContentProperty::VIDEO_RATIO) {
                
                Changed (frequent);