Commit 216aa05b authored by Dan Dennedy's avatar Dan Dennedy

Remove resource attribute from generators output.

Its funky value causes pango to reject the input because it is not a valid
file. Pango producer was changed on Apr 4 to fail initialization like other
producers with an invalid constructor argument.

svn path=/trunk/kdenlive/; revision=5783
parent 4c440118
......@@ -77,7 +77,6 @@ KUrl SamplePlugin::generatedClip(const QString &generator, const KUrl &projectFo
prod.setAttribute("mlt_service", "noise");
prod.setAttribute("in", "0");
prod.setAttribute("out", QString::number((int) fps * view.duration->value()));
prod.setAttribute("resource", "<producer>");
} else {
for (int i = 0; i < view.duration->value(); i++) {
......@@ -87,7 +86,6 @@ KUrl SamplePlugin::generatedClip(const QString &generator, const KUrl &projectFo
prod.setAttribute("in", "0");
prod.setAttribute("out", QString::number((int) fps));
prod.setAttribute("text", QString::number(view.duration->value() - i));
prod.setAttribute("resource", "&lt;producer&gt;");
//FIXME: the font and pad values are approximate, the pango producer seems unable
// to produce a predictable frame size.
prod.setAttribute("font", QString::number(view.font->value()) + "px");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment