diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-04-14 01:01:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | 65b331d32c383f3a9049f29bf03ab3fe3193b31a (patch) | |
| tree | 3b27e0ca60742021094cee889a1c8d1ef4d75f8c /src/lib/ffmpeg_content.h | |
| parent | 6dd3777a0074f6f97c7f7286621006a1c14376e8 (diff) | |
Split audio; builds.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
| -rw-r--r-- | src/lib/ffmpeg_content.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index da0eb48af..f39414a61 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -20,7 +20,8 @@ #ifndef DCPOMATIC_FFMPEG_CONTENT_H #define DCPOMATIC_FFMPEG_CONTENT_H -#include "audio_content.h" +#include "content.h" +#include "audio_stream.h" struct AVFormatContext; struct AVStream; @@ -41,7 +42,7 @@ public: static int const FILTERS; }; -class FFmpegContent : public AudioContent +class FFmpegContent : public Content { public: FFmpegContent (boost::shared_ptr<const Film>, boost::filesystem::path); @@ -60,19 +61,17 @@ public: std::string identifier () const; - /* VideoContent */ void set_default_colour_conversion (); - /* AudioContent */ std::vector<AudioStreamPtr> audio_streams () const; - /* SubtitleContent */ bool has_text_subtitles () const; bool has_image_subtitles () const; - double subtitle_video_frame_rate () const; void set_filters (std::vector<Filter const *> const &); + void changed (int property); + std::vector<boost::shared_ptr<FFmpegSubtitleStream> > subtitle_streams () const { boost::mutex::scoped_lock lm (_mutex); return _subtitle_streams; @@ -105,10 +104,9 @@ public: void signal_subtitle_stream_changed (); -protected: +private: void add_properties (std::list<UserProperty> &) const; -private: friend struct ffmpeg_pts_offset_test; friend struct audio_sampling_rate_test; |
