[vlmc-devel] commit: Transcoder: Reparse metadatas after transcoding. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sat Jul 3 17:21:50 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sat Jul  3 17:15:12 2010 +0200| [57490d27a627e1b816cfdcb6849de56524d874a0] | committer: Hugo Beauzée-Luyssen 

Transcoder: Reparse metadatas after transcoding.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=57490d27a627e1b816cfdcb6849de56524d874a0
---

 src/Media/Transcoder.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/Media/Transcoder.cpp b/src/Media/Transcoder.cpp
index 420fc3c..7c7d7cd 100644
--- a/src/Media/Transcoder.cpp
+++ b/src/Media/Transcoder.cpp
@@ -25,6 +25,7 @@
 #include "LibVLCpp/VLCMedia.h"
 #include "LibVLCpp/VLCMediaPlayer.h"
 #include "Media.h"
+#include "MetaDataManager.h"
 #include "SettingsManager.h"
 
 #include <QFileInfo>
@@ -55,5 +56,6 @@ void
 Transcoder::transcodeFinished()
 {
     m_media->setFilePath( m_destinationFile );
+    MetaDataManager::getInstance()->computeMediaMetadata( m_media );
     emit done();
 }



More information about the Vlmc-devel mailing list