X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_content.h;h=76ba43567d9961ea2c1798c3ebfe13fb27e9772b;hb=59e769023c392c332331567a1aea94660002c463;hp=6bf6c0f502c6562e7fd5ba7b3b19bd0c96315cab;hpb=73f52e94953848c696725defd3d7f5c4c30707e2;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index 6bf6c0f50..76ba43567 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -20,12 +20,12 @@ #ifndef DCPOMATIC_FFMPEG_CONTENT_H #define DCPOMATIC_FFMPEG_CONTENT_H -#include -#include #include "video_content.h" #include "audio_content.h" #include "subtitle_content.h" #include "audio_mapping.h" +#include +#include struct AVFormatContext; struct AVStream; @@ -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 { @@ -59,7 +59,6 @@ public: void examine (boost::shared_ptr); std::string summary () const; std::string technical_summary () const; - std::string information () const; void as_xml (xmlpp::Node *) const; DCPTime full_length () const; @@ -73,6 +72,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 +113,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;