Display only required tabs, including subs / ccap.
[dcpomatic.git] / src / lib / ffmpeg_content.cc
index 4300dc97071e4d4277ba09561bc9f8d74d1ade4d..3f0a692cdd646f7e08444920ebc7e03eaea114d6 100644 (file)
@@ -304,7 +304,7 @@ FFmpegContent::examine (shared_ptr<Job> job)
                _subtitle_streams = examiner->subtitle_streams ();
                if (!_subtitle_streams.empty ()) {
                        caption.clear ();
-                       caption.push_back (shared_ptr<CaptionContent> (new CaptionContent (this)));
+                       caption.push_back (shared_ptr<CaptionContent> (new CaptionContent (this, CAPTION_OPEN)));
                        _subtitle_stream = _subtitle_streams.front ();
                }