X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderer.cpp;h=75cfa7e608f6e295d5a18268c84f1e2a443e0409;hb=1b28a1f6120bc1c38750aab05c059bc8210b6418;hp=880a9653b21d3171ae16d3946057bb17a3fae283;hpb=234d7fe2828b8e82253548e32081576fc56cbb80;p=kdenlive diff --git a/src/renderer.cpp b/src/renderer.cpp index 880a9653..75cfa7e6 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -2963,8 +2963,8 @@ bool Render::addFilterToService(Mlt::Service service, EffectsParameterList param Mlt::Filter *filter = new Mlt::Filter(*m_mltProfile, qstrdup(tag.toUtf8().constData())); if (filter && filter->is_valid()) { filter->set("kdenlive_id", qstrdup(params.paramValue("id").toUtf8().constData())); - int x1 = keyFrames.at(0).section(':', 0, 0).toInt(); - double y1 = keyFrames.at(0).section(':', 1, 1).toDouble(); + int x1 = keyFrames.at(0).section('=', 0, 0).toInt(); + double y1 = keyFrames.at(0).section('=', 1, 1).toDouble(); for (int j = 0; j < params.count(); j++) { filter->set(params.at(j).name().toUtf8().constData(), params.at(j).value().toUtf8().constData()); } @@ -2983,10 +2983,10 @@ bool Render::addFilterToService(Mlt::Service service, EffectsParameterList param Mlt::Filter *filter = new Mlt::Filter(*m_mltProfile, qstrdup(tag.toUtf8().constData())); if (filter && filter->is_valid()) { filter->set("kdenlive_id", qstrdup(params.paramValue("id").toUtf8().constData())); - int x1 = keyFrames.at(i).section(':', 0, 0).toInt() + offset; - double y1 = keyFrames.at(i).section(':', 1, 1).toDouble(); - int x2 = keyFrames.at(i + 1).section(':', 0, 0).toInt(); - double y2 = keyFrames.at(i + 1).section(':', 1, 1).toDouble(); + int x1 = keyFrames.at(i).section('=', 0, 0).toInt() + offset; + double y1 = keyFrames.at(i).section('=', 1, 1).toDouble(); + int x2 = keyFrames.at(i + 1).section('=', 0, 0).toInt(); + double y2 = keyFrames.at(i + 1).section('=', 1, 1).toDouble(); if (x2 == -1) x2 = duration; for (int j = 0; j < params.count(); j++) {