X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderer.h;h=241459a17171cdcf6d3e44dcbc3b79d432eb9e40;hb=2950bfaa74c8dbc91e72634a8c2efbc107f571ae;hp=8414f633e07f82b65050df223b9e041e2229ee52;hpb=49770493349aad0bdad0a09a77c8ebccc35098bc;p=kdenlive diff --git a/src/renderer.h b/src/renderer.h index 8414f633..241459a1 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -81,7 +81,7 @@ Q_OBJECT public: APP_NOEXIST }; - Render(const QString & rendererName, int winid, int extid, QWidget *parent = 0); + Render(const QString & rendererName, int winid, int extid, QString profile = QString(), QWidget *parent = 0); ~Render(); /** Seeks the renderer clip to the given time. */ @@ -161,7 +161,7 @@ Q_OBJECT public: /** Turn on or off on screen display */ void refreshDisplay(); - int resetProfile(); + int resetProfile(const QString profileName); double fps() const; int renderWidth() const; int renderHeight() const; @@ -250,7 +250,7 @@ private: // Private attributes & methods void mltPasteEffects(Mlt::Producer *source, Mlt::Producer *dest); QMap mltGetTransitionParamsFromXml(QDomElement xml); QMap m_slowmotionProducers; - void buildConsumer(); + void buildConsumer(const QString profileName); void resetZoneMode(); void fillSlowMotionProducers();