Assorted image subtitle fixes.
[dcpomatic.git] / src / lib / render_subtitles.cc
index bc89fd3f88dc85977e2d765227401dde059f0275..9620eacbf5c58ebe4a3dc847262067c6802ea54e 100644 (file)
@@ -50,10 +50,6 @@ calculate_position (dcp::VAlign v_align, double v_position, int target_height, i
 PositionImage
 render_subtitles (list<dcp::SubtitleString> subtitles, dcp::Size target)
 {
-       if (subtitles.empty ()) {
-               return PositionImage ();
-       }
-
        /* Estimate height that the subtitle image needs to be */
        optional<int> top;
        optional<int> bottom;