[vlmc-devel] SequenceWorkflow: Save linking information

Yikai Lu git at videolan.org
Mon Aug 22 22:02:36 CEST 2016


vlmc | branch: medialibrary | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Aug 21 19:49:47 2016 -0500| [078ab27de21cbbd21800f6bc574264f42a5e9223] | committer: Hugo Beauzée-Luyssen

SequenceWorkflow: Save linking information

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/078ab27de21cbbd21800f6bc574264f42a5e9223
---

 src/Workflow/SequenceWorkflow.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Workflow/SequenceWorkflow.cpp b/src/Workflow/SequenceWorkflow.cpp
index d932bd2..3f2b9f6 100644
--- a/src/Workflow/SequenceWorkflow.cpp
+++ b/src/Workflow/SequenceWorkflow.cpp
@@ -216,9 +216,10 @@ SequenceWorkflow::toVariant() const
             { "uuid", clip->uuid() },
             { "position", position },
             { "trackId", trackId },
+            { "linked", clip->isLinked() },
+            { "linkedClip", clip->linkedClipUuid() },
             { "filters", EffectHelper::toVariant( clip->input() ) }
         };
-        //FIXME: Missing linking informations
         l << h;
     }
     QVariantHash h{ { "clips", l }, { "filters", EffectHelper::toVariant( m_multitrack ) } };



More information about the Vlmc-devel mailing list