X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg.h;h=b0769971e3e9c9f00f4812c51b3333badd6654f8;hb=0771af91ad52ed2e25ab89410eb6e783b50f7329;hp=58223fa97d82cf94593d0aff6339733a0261376b;hpb=e29ce33a36c2e20444d57196defc86d5072bce81;p=dcpomatic.git diff --git a/src/lib/ffmpeg.h b/src/lib/ffmpeg.h index 58223fa97..b0769971e 100644 --- a/src/lib/ffmpeg.h +++ b/src/lib/ffmpeg.h @@ -36,6 +36,7 @@ DCPOMATIC_ENABLE_WARNINGS struct AVFormatContext; struct AVFrame; +struct AVStream; struct AVIOContext; class FFmpegContent; @@ -63,7 +64,7 @@ protected: std::vector> audio_streams, boost::optional first_video, double video_frame_rate ) const; - static FFmpegSubtitlePeriod subtitle_period (AVSubtitle const & sub); + static FFmpegSubtitlePeriod subtitle_period (AVPacket const* packet, AVStream const* stream, AVSubtitle const & sub); std::shared_ptr _ffmpeg_content;