X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fffmpeg_decoder.h;h=d19a9f703bccba457196c5ef288665e009838335;hp=e18d5e8eb34b650e39af633af79aa8da850227f4;hb=39fb8198febde1937019db1c300ec363aab5aa56;hpb=b249700e1da7dd6631a8b4440587f4093a2bdef1 diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index e18d5e8eb..d19a9f703 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -46,8 +46,8 @@ class FFmpegDecoder : public FFmpeg, public Decoder public: FFmpegDecoder (std::shared_ptr film, std::shared_ptr, bool fast); - bool pass (); - void seek (dcpomatic::ContentTime time, bool); + bool pass () override; + void seek (dcpomatic::ContentTime time, bool) override; private: friend struct ::ffmpeg_pts_offset_test; @@ -77,7 +77,7 @@ private: dcpomatic::ContentTime _pts_offset; boost::optional _current_subtitle_to; /** true if we have a subtitle which has not had emit_stop called for it yet */ - bool _have_current_subtitle; + bool _have_current_subtitle = false; std::shared_ptr _black_image;