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)
|
||||
, 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))
|
||||
|
@ -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
|
||||
|
@ -55,6 +55,7 @@ VdpauAccel::~VdpauAccel()
|
||||
int
|
||||
VdpauAccel::allocateBuffer(AVFrame* frame, int flags)
|
||||
{
|
||||
(void) flags;
|
||||
return av_hwframe_get_buffer(framesBufferRef_.get(), frame, 0);
|
||||
}
|
||||
|
||||
|
@ -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),
|
||||
|
Reference in New Issue
Block a user