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

VLCSource, VmemRenderer: Use const uint8_t* snapshot


Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent f419d344
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ private:
unsigned int m_nbVideoTracks;
unsigned int m_nbAudioTracks;
int64_t m_length; //in milliseconds.
uint8_t* m_snapshot;
const uint8_t* m_snapshot;
bool m_isParsed;
int64_t m_nbFrames;
};
......
......@@ -66,7 +66,7 @@ VmemRenderer::mediaPlayer()
return m_mediaPlayer;
}
uint8_t*
const uint8_t*
VmemRenderer::waitSnapshot()
{
QMutexLocker lock( &m_mutex );
......
......@@ -47,7 +47,7 @@ public:
* the caller.
* @return
*/
uint8_t *waitSnapshot();
const uint8_t *waitSnapshot();
private:
void* vmemLock( void **planes );
......
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