aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppRtpChannel.h
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2017-02-03 00:21:59 +0300
committerJeremy Lainé <jeremy.laine@m4x.org>2018-09-18 16:28:02 +0200
commit34b6a758013e3c2cec4f0e180be79a7c94260bc9 (patch)
treeea3d83ce045a9e46e77a3d5f19af23cc404beadc /src/base/QXmppRtpChannel.h
parentc475518122c4894c1262337750ea22a04f7f9436 (diff)
downloadqxmpp-34b6a758013e3c2cec4f0e180be79a7c94260bc9.tar.gz
Add missed variables initialization in constructors of few classes.
Diffstat (limited to 'src/base/QXmppRtpChannel.h')
-rw-r--r--src/base/QXmppRtpChannel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base/QXmppRtpChannel.h b/src/base/QXmppRtpChannel.h
index 32e0cd35..0fd68590 100644
--- a/src/base/QXmppRtpChannel.h
+++ b/src/base/QXmppRtpChannel.h
@@ -209,6 +209,12 @@ private:
class QXMPP_EXPORT QXmppVideoFormat
{
public:
+ QXmppVideoFormat()
+ : m_frameRate(15.0)
+ , m_frameSize(QSize(320, 240))
+ , m_pixelFormat(QXmppVideoFrame::Format_YUYV)
+ {}
+
int frameHeight() const {
return m_frameSize.height();
}