args.append(QByteArray()); // app icon
QStringList actionList;
args.append(actionList); // actions
- qlonglong wid;
+ qlonglong wid = 0;
args.append(wid); // win id
m.setArguments(args);
void MainWindow::slotDoRender(const QString &dest, const QString &render, const QStringList &overlay_args, const QStringList &avformat_args, bool zoneOnly, bool playAfter, double guideStart, double guideEnd, bool resizeProfile, const QString &scriptExport) {
kDebug() << "// SCRIPT EXPORT: " << scriptExport;
if (dest.isEmpty()) return;
- int in;
- int out;
+ int in = 0;
+ int out = 0;
TrackView *currentTab = (TrackView *) m_timelineArea->currentWidget();
if (currentTab && zoneOnly) {
in = currentTab->inPoint();
if (MainWindow::videoEffects.hasKeyFrames(currenteffect)) {
//kDebug() << " * * * * * * * * * * ** CLIP EFF WITH KFR FND * * * * * * * * * * *";
// effect is key-framable, read all effects to retrieve keyframes
- double factor;
+ double factor = 0;
QString starttag;
QString endtag;
QDomNodeList params = currenteffect.elementsByTagName("parameter");
QString keyframes;
int effectin = effect.attribute("in").toInt();
int effectout = effect.attribute("out").toInt();
- double startvalue;
- double endvalue;
+ double startvalue = 0;
+ double endvalue = 0;
for (QDomNode n3 = effect.firstChild(); !n3.isNull(); n3 = n3.nextSibling()) {
// parse effect parameters
QDomElement effectparam = n3.toElement();