[vlmc-devel] Media: Fix missing path initialization
Hugo Beauzée-Luyssen
git at videolan.org
Mon Feb 24 01:59:12 CET 2014
vlmc | branch: ibackend | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 00:21:15 2014 +0200| [f2536d58668843388b93a101a292a3b130a935cb] | committer: Hugo Beauzée-Luyssen
Media: Fix missing path initialization
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=f2536d58668843388b93a101a292a3b130a935cb
---
src/Media/Media.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index 27cd15f..68d4e82 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -65,6 +65,7 @@ Media::Media(const QString &path ) :
m_metadataComputed( false ),
m_inWorkspace( false )
{
+ setFilePath( path );
Backend::IBackend* backend = Backend::getBackend();
m_source = backend->createSource( qPrintable( path ) );
}
More information about the Vlmc-devel
mailing list