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 ...@@ -37,7 +37,8 @@ class RendererPimpl: public QObject
{ {
public: public:
RendererPimpl(Renderer& linked, const std::string& id, RendererPimpl(Renderer& linked, const std::string& id,
Settings videoSettings, const std::string& shmPath); Settings videoSettings, const std::string& shmPath,
bool useAVFrame=false);
~RendererPimpl(); ~RendererPimpl();
Renderer& linked; Renderer& linked;
...@@ -202,9 +203,11 @@ Renderer::stopRendering() ...@@ -202,9 +203,11 @@ Renderer::stopRendering()
}} // end of api::video }} // end of api::video
RendererPimpl::RendererPimpl(Renderer& linked, const std::string& id, RendererPimpl::RendererPimpl(Renderer& linked, const std::string& id,
Settings videoSettings, const std::string& shmPath) Settings videoSettings, const std::string& shmPath, bool useAVFrame)
: linked(linked) : linked(linked)
, id_(id), videoSettings_(videoSettings) , id_(id)
, videoSettings_(videoSettings)
, usingAVFrame_(useAVFrame)
{ {
QSize size = stringToQSize(videoSettings.size); QSize size = stringToQSize(videoSettings.size);
#ifdef ENABLE_LIBWRAP #ifdef ENABLE_LIBWRAP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment