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/reader_factory.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/reader_factory.cc') diff --git a/src/reader_factory.cc b/src/reader_factory.cc index fb717ea..282f14b 100644 --- a/src/reader_factory.cc +++ b/src/reader_factory.cc @@ -20,10 +20,8 @@ #include "reader_factory.h" #include "stl_binary_reader.h" #include "stl_text_reader.h" -#include "dcp_reader.h" #include "subrip_reader.h" #include "sub_assert.h" -#include #include #include @@ -39,15 +37,6 @@ sub::reader_factory (boost::filesystem::path file_name) string ext = file_name.extension().string(); transform (ext.begin(), ext.end(), ext.begin(), ::tolower); - if (ext == ".xml") { - return shared_ptr (new DCPReader (file_name)); - } - - if (ext == ".mxf") { - /* Assume this is some MXF-wrapped SMPTE subtitles */ - return shared_ptr (new DCPReader (file_name)); - } - if (ext == ".stl") { /* Check the start of the DFC */ ifstream f (file_name.string().c_str ()); -- cgit v1.2.3