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
This commit is contained in:
parent
19d34f6b5e
commit
b025736899
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user