bool isTransparent() const;
/** Returns any property of this clip. */
- const QString getProperty(const QString prop) const;
+ const QString getProperty(const QString &prop) const;
void setProperty(const QString &key, const QString &value);
void clearProperty(const QString &key);
void slotRefreshProducer();
void setProducerProperty(const char *name, int data);
void setProducerProperty(const char *name, double data);
- void getFileHash(const QString url);
+ void getFileHash(const QString &url);
/** @brief When duplicating a producer, make sure all manually set properties are passed to it. */
void adjustProducerProperties(Mlt::Producer *prod, const QString &id, bool mute, bool blind);
/** @brief Create another instance of a producer. */
QMap <QString, QString> properties() const;
QMap <QString, QString> metadata() const;
void slotExtractImage(int frame, int frame2);
- /** @brief Lock mutex to prevent changing producers while operation. */
- void slotBlock();
- /** @brief Release mutex preventing a change in producers. */
- void slotRelease();
signals:
void gotAudioData();
/** @brief Generate a proxy clip (lower resolution copy) named like the clip's hash. */
- void createProxy(const QString id);
+ void createProxy(const QString &id);
/** @brief Abort creation of the proxy clip (lower resolution copy). */
- void abortProxy(const QString id, const QString proxyPath);
+ void abortProxy(const QString &id, const QString &proxyPath);
};
#endif