souphttpsrc: Don't set boolean to FALSE right after checking that it is FALSE
authorSebastian Dröge <sebastian@centricular.com>
Fri, 28 Jan 2022 13:31:25 +0000 (15:31 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 28 Jan 2022 13:31:25 +0000 (15:31 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1594>

subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c

index ceb76a2..48b8ad4 100644 (file)
@@ -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