X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fffmpeg_decoder.cc;fp=src%2Flib%2Fffmpeg_decoder.cc;h=f5af0628e213f031f845d728193c97da55943138;hp=bb852d9d849833a074841c149abac0bcc92a53ee;hb=46064e5c8ae074b1328f8dab541322b6fb091275;hpb=fecc0c792748e2b16e8fad33186db79ce6850cc9 diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index bb852d9d8..f5af0628e 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -399,6 +399,10 @@ FFmpegDecoder::seek (ContentTime time, bool accurate) } _have_current_subtitle = false; + + BOOST_FOREACH (optional& i, _next_time) { + i = optional(); + } } void