This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Revert "Accept self-signed certificate in https:// stream"

This reverts commit 6c8d1b2.
The fix only applies when neonhttpsrc is being used, which only
happens if gstreamer-bad-plugins is available without
gstreamer-good-plugins.
  • Loading branch information...
alanbriolat committed Jul 29, 2012
1 parent 92c15f3 commit 6a049d7e50758466f075174a492ab13bb167b4ce
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/engines/gstenginepipeline.cpp
@@ -734,12 +734,6 @@ void GstEnginePipeline::SourceSetupCallback(GstURIDecodeBin* bin, GParamSpec *ps
g_object_set(element, "extra-headers", headers, NULL);
gst_structure_free(headers);
}
- if (element &&
- g_object_class_find_property(G_OBJECT_GET_CLASS(element), "accept-self-signed")) {
- // Can't always rely on HTTPS streams to have a valid 3rd-party-signed
- // certificate, so tell neonhttpsrc to accept self-signed certificates.
- g_object_set(element, "accept-self-signed", true, NULL);
- }
}
void GstEnginePipeline::TransitionToNext() {

0 comments on commit 6a049d7

Please sign in to comment.