remove a couple of minor build warnings

Change-Id: I8ade6ef9e99674d963744021480fdd5e56a6ef80
Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
This commit is contained in:
Guillaume Roguez
2017-06-22 15:55:41 -04:00
parent 9a36c366a8
commit 76132100ef
4 changed files with 4 additions and 3 deletions

View File

@ -250,9 +250,9 @@ AudioReceiveThread::AudioReceiveThread(const std::string& id,
: id_(id)
, format_(format)
, stream_(sdp)
, mtu_(mtu)
, sdpContext_(new MediaIOHandle(sdp.size(), false, &readFunction,
0, 0, this))
, mtu_(mtu)
, loop_(std::bind(&AudioReceiveThread::setup, this),
std::bind(&AudioReceiveThread::process, this),
std::bind(&AudioReceiveThread::cleanup, this))

View File

@ -305,11 +305,11 @@ SinkClient::stop() noexcept
SinkClient::SinkClient(const std::string& id, bool mixer)
: id_ {id}
, mixer_(mixer)
, scaler_(new VideoScaler())
#ifdef DEBUG_FPS
, frameCount_(0u)
, lastFrameDebug_(std::chrono::system_clock::now())
#endif
, scaler_(new VideoScaler())
{}
void

View File

@ -55,6 +55,7 @@ VdpauAccel::~VdpauAccel()
int
VdpauAccel::allocateBuffer(AVFrame* frame, int flags)
{
(void) flags;
return av_hwframe_get_buffer(framesBufferRef_.get(), frame, 0);
}

View File

@ -46,11 +46,11 @@ VideoReceiveThread::VideoReceiveThread(const std::string& id,
, dstHeight_(0)
, id_(id)
, stream_(sdp)
, mtu_(mtu)
, sdpContext_(stream_.str().size(), false, &readFunction, 0, 0, this)
, sink_ {Manager::instance().createSinkClient(id)}
, restartDecoder_(false)
, isReset_(isReset)
, mtu_(mtu)
, requestKeyFrameCallback_(0)
, loop_(std::bind(&VideoReceiveThread::setup, this),
std::bind(&VideoReceiveThread::process, this),