Commit 4296ce51 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(codecs): disable downloadable codecs for the moment

parent 23939aaa
......@@ -192,6 +192,10 @@ void AbstractCodecsModel::addDownloadableCodec (
}
QVariantMap AbstractCodecsModel::getCodecInfo (const QString &mime) const {
// TODO: Remove me in 4.2 release.
qDebug() << "Enable me in 4.2 release.";
return QVariantMap();
for (const auto &codec : mCodecs)
if (codec.value("mime") == mime)
return codec;
......
......@@ -20,6 +20,7 @@
* Author: Ronan Abhamon
*/
#include <QDebug>
#include <QDirIterator>
#include <QLibrary>
......@@ -83,6 +84,10 @@ void VideoCodecsModel::load () {
addCodec(codec);
// Add downloadable codecs.
// TODO: Remove me in 4.2 release.
qDebug() << "Enable downloadable codecs in 4.2 release.";
return;
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN)
if (find_if(codecs.begin(), codecs.end(), [](const shared_ptr<linphone::PayloadType> &codec) {
return codec->getMimeType() == "H264";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment