From: Eunhye Choi Date: Tue, 20 May 2025 08:05:11 +0000 (+0900) Subject: souphttpsrc: Fix seeking issue on specific server X-Git-Tag: accepted/tizen/unified/20250530.090449^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4603294e63af13c6c7aa9b137487135890339871;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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 */