From b02573689911bd50d62873037d866ced6bef7f27 Mon Sep 17 00:00:00 2001 From: Jonathan Karlsson Date: Mon, 19 Nov 2018 11:39:50 +0100 Subject: [PATCH] curlhttpsink: Enable content type changes Makes it possible to change content type without having to reinitialize the element, typically after reset. https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/41 --- ext/curl/gstcurlhttpsink.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ext/curl/gstcurlhttpsink.c b/ext/curl/gstcurlhttpsink.c index 657a40d682..a7c850ef72 100644 --- a/ext/curl/gstcurlhttpsink.c +++ b/ext/curl/gstcurlhttpsink.c @@ -460,10 +460,6 @@ gst_curl_http_sink_set_mime_type (GstCurlBaseSink * bcsink, GstCaps * caps) GstStructure *structure; const gchar *mime_type; - if (sink->content_type != NULL) { - return; - } - structure = gst_caps_get_structure (caps, 0); mime_type = gst_structure_get_name (structure);