Commit c4ee1b4e authored by Adrien Béraud's avatar Adrien Béraud

videomanager/android: use new API

Change-Id: Ic9441c2c2f21787c7a01872b3e7a948832576b89
Tuleap: #413
parent 0842938a
......@@ -161,7 +161,7 @@ removeVideoDevice(const std::string &node)
void*
obtainFrame(int length)
{
if (auto input = videoManager.videoInput.lock())
if (auto input = ring::Manager::instance().getVideoManager().videoInput.lock())
return (*input).obtainFrame(length);
return nullptr;
......@@ -170,7 +170,7 @@ obtainFrame(int length)
void
releaseFrame(void* frame)
{
if (auto input = videoManager.videoInput.lock())
if (auto input = ring::Manager::instance().getVideoManager().videoInput.lock())
(*input).releaseFrame(frame);
}
#endif
......
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