souphttpsrc: Fix seeking issue on specific server 65/324565/2 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20250521.083033
authorEunhye Choi <eunhae1.choi@samsung.com>
Tue, 20 May 2025 08:05:11 +0000 (17:05 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Tue, 20 May 2025 11:44:25 +0000 (20:44 +0900)
Remove dependency on 'Range' header in response for seek capability
which is leftover patch related to previously revert commit.

This part expect that the 'range' header is always included in response
by adding range request in gst_soup_http_src_add_range_header().
but offset condition is added by this commit :
37be5030fe5afb313e5134f218691bfb0e9be31a.

[Version] 1.20.0-64

Change-Id: Idccac5c213501f4cdce6054e5404902235fb9e19

packaging/gstreamer.spec
subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c

index 475d02b1005c4e800377b80fe4f438bdbb84457b..0cbd3465eabc8df17463592b1aac1d50045ae3cc 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        63
+Release:        64
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index 35d0ee3b4e2b2b8342d6b130f6ca4813c3eb6dbb..f36b7c6bda69634213c3b2e15ca0de2746a83204 100644 (file)
@@ -1562,13 +1562,6 @@ gst_soup_http_src_got_headers (GstSoupHTTPSrc * src, SoupMessage * msg)
       src->seekable = TRUE;
     }
   }
-  /* The Range request header is always included.
-   * @ref gst_soup_http_src_add_range_header() */
-  else if ((status_code == SOUP_STATUS_OK) &&
-    (_soup_message_headers_get_content_range (response_headers, &start, &stop, &total) == FALSE)) {
-    GST_DEBUG_OBJECT (src, "there is no accept range header");
-    src->seekable = FALSE;
-  }
 #endif
 
   /* Icecast stuff */