summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-21 19:12:44 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-21 19:12:44 +0100
commitfe771b1f0ed9f794bc98faa4cca2a15651f28e87 (patch)
treeae4366fcdd84796bcb75d3012893929f7bc2c71f /src/lib/ffmpeg_content.h
parent6ec7654b77b22d32cb1ca0dd35c8d66e16ca36d6 (diff)
Add more video properties to content properties dialog.
Also implement the whole properties thing more neatly.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
-rw-r--r--src/lib/ffmpeg_content.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h
index c5797d5d1..05f6cebb6 100644
--- a/src/lib/ffmpeg_content.h
+++ b/src/lib/ffmpeg_content.h
@@ -104,6 +104,9 @@ public:
std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+protected:
+ void add_properties (std::list<std::pair<std::string, std::string> > &) const;
+
private:
friend struct ffmpeg_pts_offset_test;
friend struct audio_sampling_rate_test;
@@ -114,6 +117,11 @@ private:
boost::optional<ContentTime> _first_video;
/** Video filters that should be used when generating DCPs */
std::vector<Filter const *> _filters;
+
+ AVColorRange _color_range;
+ AVColorPrimaries _color_primaries;
+ AVColorTransferCharacteristic _color_trc;
+ AVColorSpace _colorspace;
};
#endif