summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-12-18 15:54:50 +0000
committerCarl Hetherington <cth@carlh.net>2013-12-18 15:54:50 +0000
commit68856c377d520c2e57f08dba3b19f6cec4858793 (patch)
tree4a2ba15c5508bada7a3925135630b132cf7c2ef5
parentcddd5a812b0ec2db5dbdd120f6ed115ea9550bbb (diff)
VIDEO_FRAME_TYPE needs to invalidate the player's pieces.
-rw-r--r--ChangeLog3
-rw-r--r--src/lib/player.cc8
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d0bf184bf..95b641cb0 100644
--- 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.
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 7f500b3d6..09a437494 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -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);