summaryrefslogtreecommitdiff
path: root/src/AS_DCP_JP2K.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-16 21:05:08 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-21 20:25:17 +0100
commit511c089e1442ce66ec985d4e70782f9e188b1fd2 (patch)
tree3af1f62023c2c7b12bd3f3d123bb9d6a5b3e5dae /src/AS_DCP_JP2K.cpp
parent59670db83c13807eda5b63704c0fac90aebe68e4 (diff)
Remove edit rate checks so that DCP-o-matic can use any edit rate it wants.
Diffstat (limited to 'src/AS_DCP_JP2K.cpp')
-rwxr-xr-xsrc/AS_DCP_JP2K.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/AS_DCP_JP2K.cpp b/src/AS_DCP_JP2K.cpp
index 8856e67..87961c3 100755
--- a/src/AS_DCP_JP2K.cpp
+++ b/src/AS_DCP_JP2K.cpp
@@ -1522,6 +1522,8 @@ ASDCP::JP2K::MXFSWriter::OpenWrite(const std::string& filename, const WriterInfo
else
m_Writer = new h__SWriter(&DefaultInteropDict());
+#if 0
+ /* This check has been removed so that DCP-o-matic can use any edit rate it wants */
if ( PDesc.EditRate != ASDCP::EditRate_24
&& PDesc.EditRate != ASDCP::EditRate_25
&& PDesc.EditRate != ASDCP::EditRate_30
@@ -1532,6 +1534,7 @@ ASDCP::JP2K::MXFSWriter::OpenWrite(const std::string& filename, const WriterInfo
DefaultLogSink().Error("Stereoscopic wrapping requires 24, 25, 30, 48, 50 or 60 fps input streams.\n");
return RESULT_FORMAT;
}
+#endif
if ( PDesc.StoredWidth > 2048 )
DefaultLogSink().Warn("Wrapping non-standard 4K stereoscopic content. I hope you know what you are doing!\n");