Remove dead code

This commit is contained in:
Jonas Kvinge 2018-11-17 03:23:22 +01:00
parent 5927483402
commit 9d09e7f6fe
1 changed files with 0 additions and 13 deletions

View File

@ -106,24 +106,11 @@ GstEngine::GstEngine(TaskManager *task_manager)
ReloadSettings();
#ifdef Q_OS_MACOS___ // FIXME
QDir resources_dir(mac::getResourcesPath());
QString ca_cert_path = resources_dir.filePath("cacert.pem");
GError *error = nullptr;
tls_database_ = g_tls_file_database_new(ca_cert_path.toUtf8().data(), &error);
#endif
}
GstEngine::~GstEngine() {
EnsureInitialised();
current_pipeline_.reset();
#ifdef Q_OS_MACOS
g_object_unref(tls_database_);
#endif
}
bool GstEngine::Init() {