From 4603294e63af13c6c7aa9b137487135890339871 Mon Sep 17 00:00:00 2001 From: Eunhye Choi Date: Tue, 20 May 2025 17:05:11 +0900 Subject: [PATCH] souphttpsrc: Fix seeking issue on specific server 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.24.11-17 Change-Id: Idccac5c213501f4cdce6054e5404902235fb9e19 --- packaging/gstreamer.spec | 2 +- subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index d2905fa1a3..47d63c1876 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -61,7 +61,7 @@ Name: %{_name} Version: 1.24.11 -Release: 16 +Release: 17 Summary: Streaming-Media Framework Runtime License: LGPL-2.0+ Group: Multimedia/Framework diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c index ba210d477f..dacce56322 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c @@ -1604,13 +1604,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 */ -- 2.34.1