s += "_" + video->identifier();
}
- if (subtitle) {
+ if (subtitle && subtitle->use() && subtitle->burn()) {
s += "_" + subtitle->identifier();
}
}
void
-FFmpegContent::use_template (shared_ptr<const Content> c)
+FFmpegContent::take_settings_from (shared_ptr<const Content> c)
{
- Content::use_template (c);
-
shared_ptr<const FFmpegContent> fc = dynamic_pointer_cast<const FFmpegContent> (c);
+ if (!fc) {
+ return;
+ }
+
+ Content::take_settings_from (c);
_filters = fc->_filters;
}