From 032e484a267da1262803297a96f23420f01a65c8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 1 Dec 2022 22:44:38 +0100 Subject: Remove DCP subtitle support. This was only a thin wrapper around libdcp, used by videocon but not by DCP-o-matic. It seems very unlikely that anybody else will want it, and the dependency of libsub on libdcp causes hassle that will be gladly avoided. --- src/colour.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/colour.h') diff --git a/src/colour.h b/src/colour.h index f3a4964..65660a5 100644 --- a/src/colour.h +++ b/src/colour.h @@ -24,7 +24,6 @@ #ifndef LIBSUB_COLOUR_H #define LIBSUB_COLOUR_H -#include #include #include @@ -57,10 +56,6 @@ public: float g; /** blue component (from 0 to 1) */ float b; - - dcp::Colour dcp() const { - return dcp::Colour(lrintf(r * 255), lrintf(g * 255), lrintf(b * 255)); - } }; bool -- cgit v1.2.3