GstEnginePipeline: Check for ssl-strict property
This commit is contained in:
@@ -809,6 +809,9 @@ void GstEnginePipeline::NotifySourceCallback(GstPlayBin *bin, GParamSpec *param_
|
|||||||
if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), "user-agent")) {
|
if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), "user-agent")) {
|
||||||
QString user_agent = QString("%1 %2").arg(QCoreApplication::applicationName(), QCoreApplication::applicationVersion());
|
QString user_agent = QString("%1 %2").arg(QCoreApplication::applicationName(), QCoreApplication::applicationVersion());
|
||||||
g_object_set(element, "user-agent", user_agent.toUtf8().constData(), nullptr);
|
g_object_set(element, "user-agent", user_agent.toUtf8().constData(), nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (g_object_class_find_property(G_OBJECT_GET_CLASS(element), "ssl-strict")) {
|
||||||
g_object_set(element, "ssl-strict", FALSE, nullptr);
|
g_object_set(element, "ssl-strict", FALSE, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user