Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Revert "Accept self-signed certificate in https:// stream"
Browse files Browse the repository at this point in the history
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 6a049d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/engines/gstenginepipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6a049d7

Please sign in to comment.