[vlmc-devel] Library: Start the MediaLibrary after the	initialization is finished.
    Yikai Lu 
    git at videolan.org
       
    Wed May 17 11:15:08 CEST 2017
    
    
  
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed May 17 18:14:43 2017 +0900| [a96224ba28fcd624a4cd402daff7e49e3d7aa644] | committer: Yikai Lu
Library: Start the MediaLibrary after the initialization is finished.
> https://code.videolan.org/videolan/vlmc/commit/a96224ba28fcd624a4cd402daff7e49e3d7aa644
---
 src/Library/Library.cpp | 1 +
 1 file changed, 1 insertion(+)
diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
index bd35af5..03bdbd0 100644
--- a/src/Library/Library.cpp
+++ b/src/Library/Library.cpp
@@ -198,6 +198,7 @@ Library::workspaceChanged(const QVariant& workspace)
         // This will happen after the first call to IMediaLibrary::discover()
         m_ml->initialize( w + "/ml.db", w + "/thumbnails/", this );
         m_initialized = true;
+        m_ml->start();
     }
     //else FIXME, and relocate the media library
 }
    
    
More information about the Vlmc-devel
mailing list