X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg.h;h=e6399c076655742f4438bb87676dad87f8e06781;hb=35409488fd54aacefa6858dce4b02a576170e76e;hp=d2f79765884edf775dbd87d48fe43d8311ac5b04;hpb=f508191f9d794e7762270d19a4211739470cfe0d;p=dcpomatic.git diff --git a/src/lib/ffmpeg.h b/src/lib/ffmpeg.h index d2f797658..e6399c076 100644 --- a/src/lib/ffmpeg.h +++ b/src/lib/ffmpeg.h @@ -23,9 +23,12 @@ #include "file_group.h" #include "ffmpeg_subtitle_period.h" +#include "warnings.h" +DCPOMATIC_DISABLE_WARNINGS extern "C" { #include } +DCPOMATIC_ENABLE_WARNINGS #include #include @@ -53,8 +56,8 @@ public: protected: AVCodecContext* video_codec_context () const; AVCodecContext* subtitle_codec_context () const; - ContentTime pts_offset ( - std::vector > audio_streams, boost::optional first_video, double video_frame_rate + dcpomatic::ContentTime pts_offset ( + std::vector > audio_streams, boost::optional first_video, double video_frame_rate ) const; static FFmpegSubtitlePeriod subtitle_period (AVSubtitle const & sub);