Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions src/lib/ffmpeg_content.cc
Original file line number Diff line number Diff line change
Expand Up @@ -655,21 +655,14 @@ FFmpegContent::add_properties(shared_ptr<const Film> film, list<UserProperty>& p
_("SMPTE 2085, Y'D'zD'x"),
_("Chroma-derived non-constant luminance"),
_("Chroma-derived constant luminance"),
#ifdef DCPOMATIC_FFMPEG_8
_("BT2100"),
_("SMPTE ST 2128, IPT-C2"),
_("YCgCo-R, even addition"),
_("YCgCo-R, odd addition")
#else
_("BT2100")
#endif
_("BT2100"),
/* These three are in FFmpeg 7.1 and later */
_("SMPTE ST 2128, IPT-C2"),
_("YCgCo-R, even addition"),
_("YCgCo-R, odd addition")
};

#ifdef DCPOMATIC_FFMPEG_8
DCPOMATIC_ASSERT(AVCOL_SPC_NB == 18);
#else
DCPOMATIC_ASSERT(AVCOL_SPC_NB == 15);
#endif
DCPOMATIC_ASSERT(AVCOL_SPC_NB <= 18);

p.push_back(UserProperty(UserProperty::VIDEO, _("Colourspace"), spaces[_colorspace.get_value_or(AVCOL_SPC_UNSPECIFIED)]));

Expand Down
Loading