summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJonathan Karlsson <jonakn@axis.com>2018-11-19 11:39:50 +0100
committerSebastian Dröge <slomo@coaxion.net>2018-12-06 09:08:59 +0000
commitb02573689911bd50d62873037d866ced6bef7f27 (patch)
treead56f27d975bcf940706d21fdf88bb7bc59f690a /ext
parent19d34f6b5e1633d5ec4bb2832c58470f0c829cab (diff)
downloadgstreamer-plugins-bad-b02573689911bd50d62873037d866ced6bef7f27.tar.gz
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
Diffstat (limited to 'ext')
-rw-r--r--ext/curl/gstcurlhttpsink.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/curl/gstcurlhttpsink.c b/ext/curl/gstcurlhttpsink.c
index 657a40d68..a7c850ef7 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);