X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.cc;h=0be1ddd7b71a19161c44f6957f63c5a3aae23213;hb=d7ac100c0eb1b5efdcfbec59be870fd869252840;hp=ccc92f06750e509aa5585a99469078caf42ecab7;hpb=9e0d7b95fd73d84135a28260fa995c0be1649c46;p=dcpomatic.git diff --git a/src/lib/film.cc b/src/lib/film.cc index ccc92f067..0be1ddd7b 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -46,7 +46,7 @@ #include "screen.h" #include "audio_content.h" #include "video_content.h" -#include "subtitle_content.h" +#include "text_content.h" #include "ffmpeg_content.h" #include "dcp_content.h" #include "screen_kdm.h" @@ -1174,6 +1174,10 @@ Film::audio_frame_rate () const void Film::set_sequence (bool s) { + if (s == _sequence) { + return; + } + _sequence = s; _playlist->set_sequence (s); signal_changed (SEQUENCE);