From 52625f2b98401e4f62d8330d8288575158b531ae Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Sun, 19 Jul 2026 23:49:14 +0800 Subject: [PATCH] proxy: restore pdivider (de)serialization dropped in the commit split The load/save of the per-footage custom divider attribute was lost when the proxy changes were re-applied during the three-way commit split; ProxyManager.FootagePersistsCustomProxyParams caught it. --- app/node/project/footage/footage.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/node/project/footage/footage.cpp b/app/node/project/footage/footage.cpp index 7e7b9348f..7643303a2 100644 --- a/app/node/project/footage/footage.cpp +++ b/app/node/project/footage/footage.cpp @@ -703,6 +703,8 @@ bool Footage::load_custom(QXmlStreamReader *reader, SerializedData *data) custom_params.width = attr.value().toInt(); } else if (attr.name() == QStringLiteral("pheight")) { custom_params.height = attr.value().toInt(); + } else if (attr.name() == QStringLiteral("pdivider")) { + custom_params.divider = attr.value().toInt(); } else if (attr.name() == QStringLiteral("pcrf")) { custom_params.crf = attr.value().toInt(); } else if (attr.name() == QStringLiteral("ppreset")) { @@ -791,6 +793,9 @@ void Footage::save_custom(QXmlStreamWriter *writer) const writer->writeAttribute( QStringLiteral("pheight"), QString::number(custom_proxy_params_.height)); + writer->writeAttribute( + QStringLiteral("pdivider"), + QString::number(custom_proxy_params_.divider)); writer->writeAttribute( QStringLiteral("pcrf"), QString::number(custom_proxy_params_.crf));