Skip to content
Snippets Groups Projects
Commit 20ae4294 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

renderer: initialize usingAVFrame to false by default

Change-Id: I6f4048882635ecca83baf58c563cf67c0de0dbaf
parent 2cc4c967
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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