Fix missing subtitles in the list view, and possibly other problems.
authorCarl Hetherington <cth@carlh.net>
Mon, 19 Dec 2016 15:33:00 +0000 (15:33 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 19 Dec 2016 15:33:00 +0000 (15:33 +0000)
src/lib/subtitle_decoder.cc

index ff6f4b9daeca44555a49e424f9d5ecc1a495d194..3e6ee92f1f0e6b33c89e919db8785dff2d62dc64 100644 (file)
@@ -104,6 +104,7 @@ SubtitleDecoder::get (list<T> const & subs, list<ContentTimePeriod> const & sp,
                }
                if (j == subs.end ()) {
                        missing = i.from;
+                       break;
                }
        }