implemented full support for interlaced footage

Includes importing and exporting interlaced footage. Fixes #1340.
This commit is contained in:
itsmattkc
2021-05-03 13:56:54 +10:00
parent e2455fce2f
commit 2484daf141
3 changed files with 51 additions and 4 deletions
+5 -3
View File
@@ -110,10 +110,12 @@ QByteArray RenderManager::Hash(const Node *n, const QString& output, const Video
int width = params.effective_width();
int height = params.effective_height();
VideoParams::Format format = params.format();
VideoParams::Interlacing interlacing = params.interlacing();
hasher.addData(reinterpret_cast<const char*>(&width), sizeof(int));
hasher.addData(reinterpret_cast<const char*>(&height), sizeof(int));
hasher.addData(reinterpret_cast<const char*>(&format), sizeof(VideoParams::Format));
hasher.addData(reinterpret_cast<const char*>(&width), sizeof(width));
hasher.addData(reinterpret_cast<const char*>(&height), sizeof(height));
hasher.addData(reinterpret_cast<const char*>(&format), sizeof(format));
hasher.addData(reinterpret_cast<const char*>(&interlacing), sizeof(interlacing));
if (n) {
n->Hash(output, hasher, time, params);