[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktp-call-ui/frameworks] libktpcall/private: Replace toAscii with toLatin1
From: David E. Narvaez <david.narvaez () computer ! org>
Date: 2015-04-01 0:15:27
Message-ID: E1Yd6Jb-0004rJ-JP () scm ! kde ! org
[Download RAW message or body]
Git commit c4ff45623924b5505c5ef7c0b64792e5f96a9f4a by David E. Narvaez.
Committed on 01/04/2015 at 00:14.
Pushed by narvaez into branch 'frameworks'.
Replace toAscii with toLatin1
toAscii is obsolete in Qt5 so these should be replaced in the frameworks
branch.
REVIEW: 123200
M +2 -2 libktpcall/private/tf-video-content-handler.cpp
http://commits.kde.org/telepathy-call-ui/c4ff45623924b5505c5ef7c0b64792e5f96a9f4a
diff --git a/libktpcall/private/tf-video-content-handler.cpp \
b/libktpcall/private/tf-video-content-handler.cpp index 301077c..0d2d1bf 100644
--- a/libktpcall/private/tf-video-content-handler.cpp
+++ b/libktpcall/private/tf-video-content-handler.cpp
@@ -153,14 +153,14 @@ bool TfVideoContentHandler::createSrcBin(const QGst::ElementPtr \
& src)
//capsfilter restricts the output to 320x240 @ 15fps or whatever \
Content.I.VideoControl says
QString capsfilterName = QString(QLatin1String("input_capsfilter_%1")).arg(id);
- QGst::ElementPtr capsfilter = QGst::ElementFactory::make("capsfilter", \
capsfilterName.toAscii()); + QGst::ElementPtr capsfilter = \
QGst::ElementFactory::make("capsfilter", capsfilterName.toLatin1()); \
capsfilter->setProperty("caps", contentCaps());
qCDebug(LIBKTPCALL) << "Using video src caps" << \
capsfilter->property("caps").get<QGst::CapsPtr>();
//tee to support fakesink + fsconference + video preview sink
QString teeName = QString(QLatin1String("input_tee_%1")).arg(id);
- QGst::ElementPtr tee = QGst::ElementFactory::make("tee", teeName.toAscii());
+ QGst::ElementPtr tee = QGst::ElementFactory::make("tee", teeName.toLatin1());
//fakesink silently "eats" frames to prevent the source from stopping in case \
there is no other sink QGst::ElementPtr fakesink = \
QGst::ElementFactory::make("fakesink");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic