X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fsubtitle_asset.cc;h=ba91cf9028932117953a9137099434ff36821fa5;hb=1c4257eacfe62f30f3e08edfe049a954cd7b43a3;hp=9ba85a43b143fa54e17c952ed6f413dcb75ff5a6;hpb=f5cc57f11946e1e269df25db434c5f8efe953a68;p=libdcp.git diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc index 9ba85a43..ba91cf90 100644 --- a/src/subtitle_asset.cc +++ b/src/subtitle_asset.cc @@ -413,7 +413,7 @@ SubtitleAsset::write_xml (ostream& s) const << " " << _language << "\n"; if (_load_font_nodes.size() > 1) { - throw MiscError ("multiple LoadFont nodes not supported"); + boost::throw_exception (MiscError ("multiple LoadFont nodes not supported")); } if (!_load_font_nodes.empty ()) { @@ -469,7 +469,7 @@ SubtitleAsset::write_xml (ostream& s) const a << "Script=\"normal\" Underlined=\"no\" Weight=\"normal\""; } - if (first || + if (first || font_changed || (last_in != (*i)->in() || last_out != (*i)->out() || last_fade_up_time != (*i)->fade_up_time() ||