From 499e0acd434e98b91d411c9fbca97d9aecb55179 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Fri, 28 Jan 2022 15:31:25 +0200
Subject: [PATCH] souphttpsrc: Don't set boolean to FALSE right after checking
 that it is FALSE

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1594>
---
 subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c
index ceb76a2684..48b8ad4fb2 100644
--- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c
+++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c
@@ -1050,8 +1050,6 @@ thread_func (gpointer user_data)
     message = gst_message_new_have_context (GST_OBJECT_CAST (src), context);
     gst_element_post_message (GST_ELEMENT_CAST (src), message);
     GST_OBJECT_LOCK (src);
-  } else {
-    src->session_is_shared = FALSE;
   }
 
   /* soup2: connect the authenticate handler for the src that spawned the