[vlmc-devel] ClipRenderer: Fixing clip preview when using VLC 1.2

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 12 12:47:58 CEST 2011


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Apr 12 12:47:02 2011 +0200| [f8a17b80249aa55117ac515dc224525eac176253] | committer: Hugo Beauzée-Luyssen

ClipRenderer: Fixing clip preview when using VLC 1.2

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

 src/Renderer/ClipRenderer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Renderer/ClipRenderer.cpp b/src/Renderer/ClipRenderer.cpp
index 88df361..92e1cd6 100644
--- a/src/Renderer/ClipRenderer.cpp
+++ b/src/Renderer/ClipRenderer.cpp
@@ -96,7 +96,7 @@ ClipRenderer::startPreview()
     //If an old media is found, we delete it, and disconnect
     if ( m_vlcMedia != NULL )
         delete m_vlcMedia;
-    m_vlcMedia = new LibVLCpp::Media( m_selectedClip->getMedia()->fileInfo()->absoluteFilePath() );
+    m_vlcMedia = new LibVLCpp::Media( m_selectedClip->getMedia()->mrl() );
 
     m_mediaPlayer->setKeyInput( false );
     m_mediaPlayer->setMedia( m_vlcMedia );



More information about the Vlmc-devel mailing list