diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-18 15:54:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-18 15:54:50 +0000 |
| commit | 68856c377d520c2e57f08dba3b19f6cec4858793 (patch) | |
| tree | 4a2ba15c5508bada7a3925135630b132cf7c2ef5 /src/lib | |
| parent | cddd5a812b0ec2db5dbdd120f6ed115ea9550bbb (diff) | |
VIDEO_FRAME_TYPE needs to invalidate the player's pieces.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/player.cc | 8 |
1 files changed, 3 insertions, 5 deletions
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); |
