Commit a84e083e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLCVmemRenderer: Provide the unlock callback to VLC...

parent 7526af19
...@@ -34,7 +34,7 @@ VmemRenderer::VmemRenderer( VLCBackend* backend, VLCSource *source , ISourceRend ...@@ -34,7 +34,7 @@ VmemRenderer::VmemRenderer( VLCBackend* backend, VLCSource *source , ISourceRend
setName( "VmemRenderer" ); setName( "VmemRenderer" );
m_snapshot = new QImage( 320, 180, QImage::Format_RGB32 ); m_snapshot = new QImage( 320, 180, QImage::Format_RGB32 );
m_mediaPlayer->setupVmem( "RV32", m_snapshot->width(), m_snapshot->height(), m_snapshot->bytesPerLine() ); 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" ); m_mediaPlayer->setAudioOutput( "dummy" );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment