Commit 20ae4294 authored by Andreas Traczyk's avatar Andreas Traczyk

renderer: initialize usingAVFrame to false by default

Change-Id: I6f4048882635ecca83baf58c563cf67c0de0dbaf
parent 2cc4c967
......@@ -37,7 +37,8 @@ class RendererPimpl: public QObject
{
public:
RendererPimpl(Renderer& linked, const std::string& id,
Settings videoSettings, const std::string& shmPath);
Settings videoSettings, const std::string& shmPath,
bool useAVFrame=false);
~RendererPimpl();
Renderer& linked;
......@@ -202,9 +203,11 @@ Renderer::stopRendering()
}} // end of api::video
RendererPimpl::RendererPimpl(Renderer& linked, const std::string& id,
Settings videoSettings, const std::string& shmPath)
Settings videoSettings, const std::string& shmPath, bool useAVFrame)
: linked(linked)
, id_(id), videoSettings_(videoSettings)
, id_(id)
, videoSettings_(videoSettings)
, usingAVFrame_(useAVFrame)
{
QSize size = stringToQSize(videoSettings.size);
#ifdef ENABLE_LIBWRAP
......
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