https://bugs.kde.org/show_bug.cgi?id=411260

--- Comment #5 from Jonathan Gilbert <c6kargn...@liamekaens.com> ---
I did a bit more research. Kdenlive is using the Qt `QDomDocument` type to
represent an XML DOM in-memory while building the MLT script. It turns out that
between Qt 4 and Qt 5, this DOM representation got reworked, and the Qt 5
version uses a hash table to store attributes. In addition, for security
reasons, the hash provider is salted with a unique seed on each run. So, with
`QDomDocument`, it is flat-out impossible to have any control over the order of
attributes. Simply loading an XML document and re-saving it will scramble all
the attributes in the file. Since MLT is very sensitive to the order of the
attributes, I believe Kdenlive's render widget will have to be reworked to use
a different XML library.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to