mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
souphttpsrc: soup_session_new_with_options() can't fail with NULL
So don't check for it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1594>
This commit is contained in:
parent
40b073e7bd
commit
165be69017
1 changed files with 1 additions and 4 deletions
|
@ -1002,10 +1002,7 @@ thread_func (gpointer user_data)
|
||||||
/* Unset the limit the number of maximum allowed connections */
|
/* Unset the limit the number of maximum allowed connections */
|
||||||
"max-conns", src->session_is_shared ? G_MAXINT : 10,
|
"max-conns", src->session_is_shared ? G_MAXINT : 10,
|
||||||
"max-conns-per-host", src->session_is_shared ? G_MAXINT : 2, NULL);
|
"max-conns-per-host", src->session_is_shared ? G_MAXINT : 2, NULL);
|
||||||
|
g_assert (session->session);
|
||||||
if (!src->session->session) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (gst_soup_loader_get_api_version () == 3) {
|
if (gst_soup_loader_get_api_version () == 3) {
|
||||||
if (src->proxy != NULL) {
|
if (src->proxy != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue