Don't say 'certificate downloaded' if it failed during the read part.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 3a182c0c7a20c4ea953c6ea02ad601c051029d60..e76004c2ce50bea1de5cdc7066617de78e10a5d6 100644 (file)
@@ -33,6 +33,7 @@ DCPSubtitleDecoder::DCPSubtitleDecoder (shared_ptr<const Film> film, shared_ptr<
        : Decoder (film)
 {
        shared_ptr<dcp::SubtitleAsset> c (load (content->path (0)));
+       c->fix_empty_font_ids ();
        _subtitles = c->subtitles ();
        _next = _subtitles.begin ();