Commit b0257368 authored by Jonathan Karlsson's avatar Jonathan Karlsson Committed by Sebastian Dröge
Browse files

curlhttpsink: Enable content type changes

Makes it possible to change content type without having to
reinitialize the element, typically after reset.

gstreamer/gst-plugins-bad!41
parent 19d34f6b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment