Skip to content
Snippets Groups Projects
Commit f51eea8d authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen
Browse files

VmemRenderer: Rename vmemUnlock to vmemDisplay


Since vmemUnlock is not really a unlock callback, it should be renamed.

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent e21729ee
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ VmemRenderer::VmemRenderer( VLCBackend* backend, VLCSource *source , ISourceRend
nullptr,
// Display:
[this]( void* picture ) {
vmemUnlock( picture );
vmemDisplay( picture );
}
);
if ( m_mediaPlayer.setAudioOutput( "dummy" ) == false )
......@@ -85,7 +85,7 @@ VmemRenderer::vmemLock( void **planes)
}
void
VmemRenderer::vmemUnlock( void* picture )
VmemRenderer::vmemDisplay( void* picture )
{
QMutexLocker lock( &m_mutex );
Q_UNUSED( picture );
......
......@@ -51,7 +51,7 @@ public:
private:
void* vmemLock( void **planes );
void vmemUnlock( void* picture );
void vmemDisplay( void* picture );
private:
uint8_t* m_snapshot;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment