From: Gilbok Lee Date: Wed, 23 Apr 2025 06:05:58 +0000 (+0900) Subject: souphttpsrc: Revert some Tizen modifications X-Git-Tag: accepted/tizen/unified/20250530.090449~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37be5030fe5afb313e5134f218691bfb0e9be31a;p=platform%2Fupstream%2Fgstreamer.git souphttpsrc: Revert some Tizen modifications - If 'Range: bytes=0-' header in sending message is added (if offset = 0), the data received from the hls live streaming is different, causing the problem [Version] 1.24.11-14 [Issue Type] Fix bugs Change-Id: I5b06cb30f25b9eb936108073cdbc624899a062d3 --- diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index cf63514d03..3a5f616e6a 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -61,7 +61,7 @@ Name: %{_name} Version: 1.24.11 -Release: 13 +Release: 14 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 e59f9e3e0d..ba210d477f 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c @@ -943,10 +943,7 @@ gst_soup_http_src_add_range_header (GstSoupHTTPSrc * src, guint64 offset, _soup_message_get_request_headers (src->msg); _soup_message_headers_remove (request_headers, "Range"); -#ifndef TIZEN_FEATURE_SOUP_MODIFICATION - if (offset || stop_offset != -1) -#endif - { + if (offset || stop_offset != -1) { if (stop_offset != -1) { g_assert (offset != stop_offset); @@ -1916,13 +1913,6 @@ gst_soup_http_src_build_message (GstSoupHTTPSrc * src, const gchar * method) _soup_message_headers_append (request_headers, "icy-metadata", "1"); } -#ifdef TIZEN_FEATURE_SOUP_MODIFICATION - /* This changes are needed to enable Seekable Contents from server. - We have observed that , for few specific networks ( VODAFONE ) , without theabove headers , - Youtube is sending non-seekable contents to the Client. */ - _soup_message_headers_append (request_headers, "Accept-Ranges","bytes"); -#endif - if (src->cookies) { gchar **cookie;