[vlmc-devel] commit: Media: Fixing a length computing bug. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Sun Jun 27 23:06:24 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jun 22 23:18:44 2010 +0200| [5e4f732267a62eb1135c4bc513639da9aa10677d] | committer: Hugo Beauzée-Luyssen
Media: Fixing a length computing bug.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=5e4f732267a62eb1135c4bc513639da9aa10677d
---
src/Media/Media.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index f7f578d..3e1eb8a 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -67,7 +67,6 @@ Media::Media( const QString& filePath )
//FIXME:
m_fileType = Media::Video;
m_fileName = m_mrl;
- qDebug() << "Loading a stream";
m_vlcMedia = new LibVLCpp::Media( m_mrl );
}
m_audioValueList = new QList<int>();
@@ -270,6 +269,7 @@ Media::isInWorkspace() const
void
Media::setFilePath( const QString &filePath )
{
+ m_inputType = Media::File;
if ( m_fileInfo )
delete m_fileInfo;
m_fileInfo = new QFileInfo( filePath );
More information about the Vlmc-devel
mailing list