[vlmc-devel] [PATCH 4/5] VmemRenderer: Rename vmemUnlock to vmemDisplay
Yikai Lu
luyikei.qmltu at gmail.com
Tue Apr 12 15:09:33 CEST 2016
Since vmemUnlock is not really a unlock callback, it should be renamed.
---
src/Backend/VLC/VLCVmemRenderer.cpp | 4 ++--
src/Backend/VLC/VLCVmemRenderer.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Backend/VLC/VLCVmemRenderer.cpp b/src/Backend/VLC/VLCVmemRenderer.cpp
index 3bbf3f2..a7e67c5 100644
--- a/src/Backend/VLC/VLCVmemRenderer.cpp
+++ b/src/Backend/VLC/VLCVmemRenderer.cpp
@@ -45,7 +45,7 @@ VmemRenderer::VmemRenderer( VLCBackend* backend, VLCSource *source , ISourceRend
nullptr,
// Display:
[this]( void* picture ) {
- vmemUnlock( picture );
+ vmemDisplay( picture );
}
);
if ( m_mediaPlayer.setAudioOutput( "dummy" ) == false )
@@ -87,7 +87,7 @@ VmemRenderer::vmemLock( void **planes)
}
void
-VmemRenderer::vmemUnlock( void* picture )
+VmemRenderer::vmemDisplay( void* picture )
{
QMutexLocker lock( &m_mutex );
Q_UNUSED( picture );
diff --git a/src/Backend/VLC/VLCVmemRenderer.h b/src/Backend/VLC/VLCVmemRenderer.h
index b7a765e..540c09e 100644
--- a/src/Backend/VLC/VLCVmemRenderer.h
+++ b/src/Backend/VLC/VLCVmemRenderer.h
@@ -51,7 +51,7 @@ public:
private:
void* vmemLock( void **planes );
- void vmemUnlock( void* picture );
+ void vmemDisplay( void* picture );
private:
uint8_t* m_snapshot;
--
1.9.1
More information about the Vlmc-devel
mailing list