X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_content.h;h=da8152c0d92816de44a576f718a15f9f94c5db24;hb=6de35d058821acc092d2aae75543024a97026b8a;hp=6bf6c0f502c6562e7fd5ba7b3b19bd0c96315cab;hpb=8d58a7c5f4320ad5c111e336c45e44d6b51ab509;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index 6bf6c0f50..da8152c0d 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -33,7 +33,7 @@ struct AVStream; class Filter; class FFmpegSubtitleStream; class FFmpegAudioStream; -class ffmpeg_pts_offset_test; +struct ffmpeg_pts_offset_test; class FFmpegContentProperty : public VideoContentProperty { @@ -73,6 +73,9 @@ public: void set_audio_mapping (AudioMapping); boost::filesystem::path audio_analysis_path () const; + /* SubtitleContent */ + bool has_subtitles () const; + void set_filters (std::vector const &); std::vector > subtitle_streams () const { @@ -111,7 +114,7 @@ public: std::list subtitles_during (ContentTimePeriod, bool starting) const; private: - friend class ffmpeg_pts_offset_test; + friend struct ffmpeg_pts_offset_test; std::vector > _subtitle_streams; boost::shared_ptr _subtitle_stream;