Commit cec69db7 authored by Tristan Matthews's avatar Tristan Matthews

video_mixer: pass string by reference

parent 96614853
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
namespace sfl_video { namespace sfl_video {
VideoMixer::VideoMixer(const std::string id) : VideoMixer::VideoMixer(const std::string &id) :
VideoGenerator::VideoGenerator() VideoGenerator::VideoGenerator()
, id_(id) , id_(id)
, width_(0) , width_(0)
......
...@@ -49,7 +49,7 @@ class VideoMixer : ...@@ -49,7 +49,7 @@ class VideoMixer :
public VideoFramePassiveReader public VideoFramePassiveReader
{ {
public: public:
VideoMixer(const std::string id_); VideoMixer(const std::string &id);
virtual ~VideoMixer(); virtual ~VideoMixer();
void setDimensions(int width, int height); void setDimensions(int width, int height);
......
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