diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-07 23:44:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 13:03:04 +0200 |
| commit | 0af59e8225eae1154e4844711012646681769b00 (patch) | |
| tree | 291311a5d29903e19bd1505f9c08f735f466f36b /src/lib/dcp_examiner.h | |
| parent | 03a6be002b24e6cbb998d31a5cf4703de6196aa2 (diff) | |
Report video range from MPEG2 DCPs correctly.
Diffstat (limited to 'src/lib/dcp_examiner.h')
| -rw-r--r-- | src/lib/dcp_examiner.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 425552632..d6baf7d50 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -61,7 +61,7 @@ public: } VideoRange range () const override { - return VideoRange::FULL; + return _video_range; } PixelQuanta pixel_quanta () const override { @@ -211,6 +211,7 @@ private: Frame _atmos_length = 0; dcp::Fraction _atmos_edit_rate; EnumIndexedVector<bool, TextType> _has_non_zero_entry_point; + VideoRange _video_range = VideoRange::FULL; struct Font { |
