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

VLCSource: Fix snapshot computing error detection

parent b5f2e911
...@@ -132,7 +132,7 @@ VLCSource::computeSnapshot( VmemRenderer* renderer ) ...@@ -132,7 +132,7 @@ VLCSource::computeSnapshot( VmemRenderer* renderer )
} }
m_snapshot = renderer->waitSnapshot(); m_snapshot = renderer->waitSnapshot();
delete renderer; delete renderer;
return true; return m_snapshot != NULL;
} }
unsigned int unsigned int
......
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