/* @brief This function should only be used at loading. It takes a producer that was read from mlt, and checks whether the master producer is already in
use. If yes, then we must create a new one, because of the mixing bug. In any case, we return a cut of the master that can be used in the timeline The
...
...
@@ -210,7 +210,7 @@ public:
- if true, then the returned cut still possibly has effect on it. You need to rebuild the effectStack based on this
- if false, then the returned cut don't have effects anymore (it's a fresh one), so you need to reload effects from the old producer
// We require that the producer is not in the track when we refresh the producer, because otherwise the modification will not be propagated. Remove the clip
// first, refresh, and then replant.
...
...
@@ -467,7 +468,7 @@ void ClipModel::refreshProducerFromBin(int trackId, PlaylistState::ClipState sta
/**@brief Tracks have two sub playlists to enable same track transitions. This returns the index of the sub-playlist containing this clip */
intgetSubPlaylistIndex()const;
voidsetSubPlaylistIndex(intindex);
voidsetSubPlaylistIndex(intindex,inttrackId);
friendclassTrackModel;
friendclassTimelineModel;
...
...
@@ -183,7 +183,7 @@ protected:
* @param speed corresponds to the speed we need. Leave to 0 to keep current speed. Warning: this function doesn't notify the model. Unless you know what
* you are doing, better use useTimewarProducer to change the speed