summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-22 00:41:03 +0100
commitdea824f6ff41384a5e17e23de5434cf84eccff29 (patch)
treea40207882d506417cb5f456135b9ba4394535d00 /src/lib/ffmpeg_content.cc
parent9cbe57dda759fccfa9dec8a0820114d7d8583a36 (diff)
Display only required tabs, including subs / ccap.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index 4300dc970..3f0a692cd 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -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 ();
}