Fix mis-alignment of copied AlignedImages; add some asserts; some docs.
[dcpomatic.git] / src / lib / film.cc
index de3a734655737058aeb0f3569aa0c642836e176b..333fe139b8a311ac30719fbf69c7fc39be16c5e9 100644 (file)
@@ -948,6 +948,7 @@ Film::set_content (string c)
                _content = c;
        }
 
+       /* Reset streams here in case the new content doesn't have one or the other */
        _content_audio_stream = shared_ptr<AudioStream> ();
        _subtitle_stream = shared_ptr<SubtitleStream> ();