From 68856c377d520c2e57f08dba3b19f6cec4858793 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Dec 2013 15:54:50 +0000 Subject: [PATCH] VIDEO_FRAME_TYPE needs to invalidate the player's pieces. --- ChangeLog | 3 +++ src/lib/player.cc | 8 +++----- 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 + * 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 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 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); -- 2.30.2