X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_content.cc;h=7a1585ca21ba1bad370c525661c487f5b5966583;hb=4f82cf8273f92719465ff3faec50c8e3a84561b3;hp=9a3348301382e88aa0b36e2dd8ef9dabcccaf1e7;hpb=062dfa793fe484fe6eeb3828fa6462b50b6a6b27;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 9a3348301..7a1585ca2 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -478,7 +478,7 @@ FFmpegContent::add_properties (list& p) const _("SMPTE ST 428-1 (CIE 1931 XYZ)") }; - DCPOMATIC_ASSERT (AVCOL_PRI_NB == 11); + DCPOMATIC_ASSERT (AVCOL_PRI_NB <= 11); p.push_back (UserProperty (_("Video"), _("Colour primaries"), primaries[_color_primaries])); char const * transfers[] = { @@ -502,7 +502,7 @@ FFmpegContent::add_properties (list& p) const _("SMPTE ST 428-1") }; - DCPOMATIC_ASSERT (AVCOL_TRC_NB == 18); + DCPOMATIC_ASSERT (AVCOL_TRC_NB <= 18); p.push_back (UserProperty (_("Video"), _("Colour transfer characteristic"), transfers[_color_trc])); char const * spaces[] = {