X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.cc;h=0375fa01bbb726a80b43b53ef6c7d4c714ee2714;hb=9facdf75a2776319fc5826cfa3dd85340f3c8879;hp=81e01329a5b641ac1869d2f158b645375d364bd1;hpb=de55fefe3f977a3552e95400c0e9f5183c14a181;p=dcpomatic.git diff --git a/src/lib/player_video.cc b/src/lib/player_video.cc index 81e01329a..0375fa01b 100644 --- a/src/lib/player_video.cc +++ b/src/lib/player_video.cc @@ -197,8 +197,7 @@ PlayerVideo::inter_position () const bool PlayerVideo::same (shared_ptr other) const { - if (_in != other->_in || - _crop != other->_crop || + if (_crop != other->_crop || _fade.get_value_or(0) != other->_fade.get_value_or(0) || _inter_size != other->_inter_size || _out_size != other->_out_size || @@ -206,6 +205,7 @@ PlayerVideo::same (shared_ptr other) const _part != other->_part || _colour_conversion != other->_colour_conversion || !_subtitle.same (other->_subtitle)) { + return false; }