mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +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 */
|
||||
"max-conns", src->session_is_shared ? G_MAXINT : 10,
|
||||
"max-conns-per-host", src->session_is_shared ? G_MAXINT : 2, NULL);
|
||||
|
||||
if (!src->session->session) {
|
||||
return NULL;
|
||||
}
|
||||
g_assert (session->session);
|
||||
|
||||
if (gst_soup_loader_get_api_version () == 3) {
|
||||
if (src->proxy != NULL) {
|
||||
|
|
Loading…
Reference in a new issue