From c5eaca8e5d9fa65af81fb21a0c73d7aa080cb858 Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Wed, 23 Apr 2025 15:05:58 +0900 Subject: [PATCH] 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.20.0-63 [Issue Type] Fix bugs Change-Id: I5b06cb30f25b9eb936108073cdbc624899a062d3 --- packaging/gstreamer.spec | 2 +- .../gst-plugins-good/ext/soup/gstsouphttpsrc.c | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index 9681d45dbd..475d02b100 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -62,7 +62,7 @@ Name: %{_name} Version: 1.20.0 -Release: 62 +Release: 63 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 b3a5769f5f..35d0ee3b4e 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c @@ -908,10 +908,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); @@ -1877,13 +1874,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; -- 2.34.1