summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/transcoder.cc')
-rw-r--r--src/lib/transcoder.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc
index 6744e9193..e0e127d33 100644
--- a/src/lib/transcoder.cc
+++ b/src/lib/transcoder.cc
@@ -56,6 +56,10 @@ Transcoder::Transcoder (shared_ptr<Film> f, shared_ptr<Job> j)
_gain.reset (new Gain (f->log(), f->audio_gain()));
}
+ if (!f->with_subtitles ()) {
+ _player->disable_subtitles ();
+ }
+
if (_matcher) {
_player->connect_video (_matcher);
_matcher->connect_video (_encoder);