Skip to content
Snippets Groups Projects
Unverified Commit cf040787 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

newvideo: add useDirectRenderer (for client)

cf #492

Change-Id: Ieb922ad29136b5f607c2fc0086fa4cfd120a9bfb
parent f719706b
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,8 @@ public:
*/
void useAVFrame(bool useAVFrame);
bool useDirectRenderer() const;
Q_SIGNALS:
/**
* Emitted when a new frame is ready
......
......@@ -132,6 +132,16 @@ Renderer::useAVFrame(bool useAVFrame)
#endif
}
bool
Renderer::useDirectRenderer() const
{
#ifdef ENABLE_LIBWRAP
return true;
#else
return false;
#endif
}
QString
Renderer::getId() const
{
......
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