summaryrefslogtreecommitdiff
path: root/src/lib/player_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-05 00:50:20 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-05 00:50:20 +0000
commitff06669bc8c14abe40cd9590afc8391f19608424 (patch)
tree42d7e185edee041b9ab9e496fbfa4e8ee55f677b /src/lib/player_video.cc
parent278bfa265eed9b2fafec8b2bb5e92541a1bb23c1 (diff)
Fix strange behaviour with single-frame fades (#1440).
Diffstat (limited to 'src/lib/player_video.cc')
-rw-r--r--src/lib/player_video.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player_video.cc b/src/lib/player_video.cc
index 023ab826a..5c287dc92 100644
--- a/src/lib/player_video.cc
+++ b/src/lib/player_video.cc
@@ -243,7 +243,7 @@ bool
PlayerVideo::same (shared_ptr<const PlayerVideo> other) const
{
if (_crop != other->_crop ||
- _fade.get_value_or(0) != other->_fade.get_value_or(0) ||
+ _fade != other->_fade ||
_inter_size != other->_inter_size ||
_out_size != other->_out_size ||
_eyes != other->_eyes ||