mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue