Control: tags -1 patch
Please find a patch attached to disable the downloader.
Using the compile option ENABLE_OPENH264=OFF does not do the trick.
From: Bastian Germann <[email protected]>
Date: Fri, 8 Apr 2022 22:35:55 +0200
Subject: Disable H264 download
---
linphone-app/src/components/codecs/VideoCodecsModel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linphone-app/src/components/codecs/VideoCodecsModel.cpp b/linphone-app/src/components/codecs/VideoCodecsModel.cpp
index a2d5d1d..aae387c 100644
--- a/linphone-app/src/components/codecs/VideoCodecsModel.cpp
+++ b/linphone-app/src/components/codecs/VideoCodecsModel.cpp
@@ -188,7 +188,7 @@ void VideoCodecsModel::load () {
// Add downloadable codecs.
// TODO: Add an API to check if the ms h264 plugin is available.
- #if defined(Q_OS_LINUX) || defined(Q_OS_WIN)
+ #if 0
if (find_if(codecs.begin(), codecs.end(), [](const shared_ptr<linphone::PayloadType> &codec) {
return codec->getMimeType() == "H264";
}) == codecs.end())