mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
remove a couple of minor build warnings
Change-Id: I8ade6ef9e99674d963744021480fdd5e56a6ef80 Reviewed-by: Philippe Gorley <philippe.gorley@savoirfairelinux.com>
This commit is contained in:
@ -250,9 +250,9 @@ AudioReceiveThread::AudioReceiveThread(const std::string& id,
|
|||||||
: id_(id)
|
: id_(id)
|
||||||
, format_(format)
|
, format_(format)
|
||||||
, stream_(sdp)
|
, stream_(sdp)
|
||||||
, mtu_(mtu)
|
|
||||||
, sdpContext_(new MediaIOHandle(sdp.size(), false, &readFunction,
|
, sdpContext_(new MediaIOHandle(sdp.size(), false, &readFunction,
|
||||||
0, 0, this))
|
0, 0, this))
|
||||||
|
, mtu_(mtu)
|
||||||
, loop_(std::bind(&AudioReceiveThread::setup, this),
|
, loop_(std::bind(&AudioReceiveThread::setup, this),
|
||||||
std::bind(&AudioReceiveThread::process, this),
|
std::bind(&AudioReceiveThread::process, this),
|
||||||
std::bind(&AudioReceiveThread::cleanup, this))
|
std::bind(&AudioReceiveThread::cleanup, this))
|
||||||
|
@ -305,11 +305,11 @@ SinkClient::stop() noexcept
|
|||||||
SinkClient::SinkClient(const std::string& id, bool mixer)
|
SinkClient::SinkClient(const std::string& id, bool mixer)
|
||||||
: id_ {id}
|
: id_ {id}
|
||||||
, mixer_(mixer)
|
, mixer_(mixer)
|
||||||
|
, scaler_(new VideoScaler())
|
||||||
#ifdef DEBUG_FPS
|
#ifdef DEBUG_FPS
|
||||||
, frameCount_(0u)
|
, frameCount_(0u)
|
||||||
, lastFrameDebug_(std::chrono::system_clock::now())
|
, lastFrameDebug_(std::chrono::system_clock::now())
|
||||||
#endif
|
#endif
|
||||||
, scaler_(new VideoScaler())
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -55,6 +55,7 @@ VdpauAccel::~VdpauAccel()
|
|||||||
int
|
int
|
||||||
VdpauAccel::allocateBuffer(AVFrame* frame, int flags)
|
VdpauAccel::allocateBuffer(AVFrame* frame, int flags)
|
||||||
{
|
{
|
||||||
|
(void) flags;
|
||||||
return av_hwframe_get_buffer(framesBufferRef_.get(), frame, 0);
|
return av_hwframe_get_buffer(framesBufferRef_.get(), frame, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,11 +46,11 @@ VideoReceiveThread::VideoReceiveThread(const std::string& id,
|
|||||||
, dstHeight_(0)
|
, dstHeight_(0)
|
||||||
, id_(id)
|
, id_(id)
|
||||||
, stream_(sdp)
|
, stream_(sdp)
|
||||||
, mtu_(mtu)
|
|
||||||
, sdpContext_(stream_.str().size(), false, &readFunction, 0, 0, this)
|
, sdpContext_(stream_.str().size(), false, &readFunction, 0, 0, this)
|
||||||
, sink_ {Manager::instance().createSinkClient(id)}
|
, sink_ {Manager::instance().createSinkClient(id)}
|
||||||
, restartDecoder_(false)
|
, restartDecoder_(false)
|
||||||
, isReset_(isReset)
|
, isReset_(isReset)
|
||||||
|
, mtu_(mtu)
|
||||||
, requestKeyFrameCallback_(0)
|
, requestKeyFrameCallback_(0)
|
||||||
, loop_(std::bind(&VideoReceiveThread::setup, this),
|
, loop_(std::bind(&VideoReceiveThread::setup, this),
|
||||||
std::bind(&VideoReceiveThread::process, this),
|
std::bind(&VideoReceiveThread::process, this),
|
||||||
|
Reference in New Issue
Block a user