[vlmc-devel] Clip: Remove a ClipWorkflow pointer

Yikai Lu git at videolan.org
Sat Jul 23 10:07:57 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 23 16:53:46 2016 +0900| [ca23aff93ffc44d144c4e5391d56e3ef7fb6673d] | committer: Yikai Lu

Clip: Remove a ClipWorkflow pointer

> https://code.videolan.org/videolan/vlmc/commit/ca23aff93ffc44d144c4e5391d56e3ef7fb6673d
---

 src/Media/Clip.cpp | 3 +--
 src/Media/Clip.h   | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/Media/Clip.cpp b/src/Media/Clip.cpp
index 9986ce6..2c3f70e 100644
--- a/src/Media/Clip.cpp
+++ b/src/Media/Clip.cpp
@@ -38,8 +38,7 @@ Clip::Clip( Media *media, qint64 begin /*= 0*/, qint64 end /*= Backend::IInput::
         Workflow::Helper( uuid ),
         m_media( media ),
         m_input( std::move( m_media->input()->cut( begin, end ) ) ),
-        m_parent( media->baseClip() ),
-        m_clipWorkflow( nullptr )
+        m_parent( media->baseClip() )
 {
     m_childs = new MediaContainer( this );
     m_rootClip = media->baseClip();
diff --git a/src/Media/Clip.h b/src/Media/Clip.h
index c4fa84e..1bb4664 100644
--- a/src/Media/Clip.h
+++ b/src/Media/Clip.h
@@ -39,7 +39,6 @@
 
 class   MediaContainer;
 class   Media;
-class   ClipWorkflow;
 
 class   Clip : public Workflow::Helper
 {
@@ -159,8 +158,6 @@ class   Clip : public Workflow::Helper
 
         Formats             m_formats;
 
-        ClipWorkflow*       m_clipWorkflow;
-
     private slots:
         void                mediaMetadataUpdated();
 



More information about the Vlmc-devel mailing list