diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-01 22:44:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-01 23:19:07 +0100 |
| commit | 3da3168c383b9dfa675f972f0802e180920d63c0 (patch) | |
| tree | 7d196ce81955dbd70e6324f2b09744c557defb33 /src/colour.h | |
| parent | 8ff50a18013d3c57d1058368146c979354016663 (diff) | |
Remove DCP subtitle support.libsub-bye-bye-dcp
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.
Diffstat (limited to 'src/colour.h')
| -rw-r--r-- | src/colour.h | 5 |
1 files changed, 0 insertions, 5 deletions
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 <dcp/types.h> #include <string> #include <cmath> @@ -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 |
