[vlmc-devel] VLCVmemRenderer: Provide the unlock callback to VLC...

Hugo Beauzée-Luyssen git at videolan.org
Mon Feb 24 20:09:40 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 02:52:52 2014 +0200| [a84e083e72314ca1e42f39dfc0c0a85d864f4f3c] | committer: Hugo Beauzée-Luyssen

VLCVmemRenderer: Provide the unlock callback to VLC...

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

 src/Backend/VLC/VLCVmemRenderer.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Backend/VLC/VLCVmemRenderer.cpp b/src/Backend/VLC/VLCVmemRenderer.cpp
index a5aa90b..c56c85a 100644
--- a/src/Backend/VLC/VLCVmemRenderer.cpp
+++ b/src/Backend/VLC/VLCVmemRenderer.cpp
@@ -34,7 +34,7 @@ VmemRenderer::VmemRenderer( VLCBackend* backend, VLCSource *source , ISourceRend
     setName( "VmemRenderer" );
     m_snapshot = new QImage( 320, 180, QImage::Format_RGB32 );
     m_mediaPlayer->setupVmem( "RV32", m_snapshot->width(), m_snapshot->height(), m_snapshot->bytesPerLine() );
-    m_mediaPlayer->setupVmemCallbacks( &VmemRenderer::vmemLock, NULL, NULL, this );
+    m_mediaPlayer->setupVmemCallbacks( &VmemRenderer::vmemLock, &VmemRenderer::vmemUnlock, NULL, this );
     m_mediaPlayer->setAudioOutput( "dummy" );
 }
 



More information about the Vlmc-devel mailing list