X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Frenderer.h;h=201e353bb6550663da81b07ece4580f9853266d4;hb=57fe61218c3ecab2c5c18bc8e81b55823691540b;hp=45b889d98ca69d778ec3cff340b3d0c70a14ead8;hpb=f41ee253ade9dfda45752f232ea0ff35e26dce95;p=kdenlive diff --git a/src/renderer.h b/src/renderer.h index 45b889d9..201e353b 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -206,7 +206,7 @@ Q_OBJECT public: Mlt::Producer *checkSlowMotionProducer(Mlt::Producer *prod, QDomElement element); int mltInsertClip(ItemInfo info, QDomElement element, Mlt::Producer *prod, bool overwrite = false, bool push = false); bool mltUpdateClip(Mlt::Tractor *tractor, ItemInfo info, QDomElement element, Mlt::Producer *prod); - void mltCutClip(int track, GenTime position); + bool mltCutClip(int track, GenTime position); void mltInsertSpace(QMap trackClipStartList, QMap trackTransitionStartList, int track, const GenTime &duration, const GenTime &timeOffset); int mltGetSpaceLength(const GenTime &pos, int track, bool fromBlankStart); @@ -215,7 +215,7 @@ Q_OBJECT public: bool mltResizeClipEnd(ItemInfo info, GenTime clipDuration); bool mltResizeClipStart(ItemInfo info, GenTime diff); - bool mltResizeClipCrop(ItemInfo info, GenTime diff); + bool mltResizeClipCrop(ItemInfo info, GenTime newCropStart); bool mltMoveClip(int startTrack, int endTrack, GenTime pos, GenTime moveStart, Mlt::Producer *prod, bool overwrite = false, bool insert = false); bool mltMoveClip(int startTrack, int endTrack, int pos, int moveStart, Mlt::Producer *prod, bool overwrite = false, bool insert = false); bool mltRemoveClip(int track, GenTime position); @@ -320,6 +320,7 @@ Q_OBJECT public: static bool getBlackMagicOutputDeviceList(KComboBox *devicelist); /** @brief Frame rendering is handeled by Kdenlive, don't show video through SDL display */ void disablePreview(bool disable); + int requestedSeekPosition; private: @@ -392,6 +393,8 @@ private slots: void slotOsdTimeout(); /** @brief Process the clip info requests (in a separate thread). */ void processFileProperties(); + /** @brief A clip with multiple video streams was found, ask what to do. */ + void slotMultiStreamProducerFound(const QString path, QList audio_list, QList video_list, stringMap data); signals: @@ -426,6 +429,8 @@ signals: void refreshDocumentProducers(bool displayRatioChanged, bool fpsChanged); /** @brief A proxy clip is missing, ask for creation. */ void requestProxy(QString); + /** @brief A multiple stream clip was found. */ + void multiStreamFound(const QString &,QList,QList,stringMap data); /** @brief A frame's image has to be shown. @@ -433,6 +438,7 @@ signals: * Used in Mac OS X. */ void showImageSignal(QImage); void showAudioSignal(const QByteArray &); + void addClip(const KUrl &, stringMap); public slots: