[vlmc-devel] Media: Fix missing MLT::IInput initialization

Hugo Beauzée-Luyssen git at videolan.org
Fri Aug 19 02:41:37 CEST 2016


vlmc | branch: medialibrary | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Aug 19 00:23:16 2016 +0200| [2ab67c305813b5e9ee229a7ad6199cab7d75cb2f] | committer: Hugo Beauzée-Luyssen

Media: Fix missing MLT::IInput initialization

> https://code.videolan.org/videolan/vlmc/commit/2ab67c305813b5e9ee229a7ad6199cab7d75cb2f
---

 src/Media/Media.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index 24029fc..b07ebea 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -80,6 +80,7 @@ Media::Media( medialibrary::MediaPtr media )
     }
     if ( m_mlFile == nullptr )
         vlmcCritical() << "No file representing media", media->title(), "was found";
+    m_input.reset( new Backend::MLT::MLTInput( m_mlFile->mrl().c_str() ) );
 }
 
 QString



More information about the Vlmc-devel mailing list